diff --git a/app/data/controller/api/Data.php b/app/data/controller/api/Data.php new file mode 100644 index 000000000..65c5ee03b --- /dev/null +++ b/app/data/controller/api/Data.php @@ -0,0 +1,26 @@ +success('获取轮播图片数据', $data); + } + +} \ No newline at end of file diff --git a/app/data/controller/api/member/Center.php b/app/data/controller/api/member/Center.php index b6b34b039..2809f9151 100644 --- a/app/data/controller/api/member/Center.php +++ b/app/data/controller/api/member/Center.php @@ -31,7 +31,6 @@ class Center extends Member foreach ($data as $key => $vo) if ($vo === '') unset($data[$key]); if (empty($data)) $this->error('没有需要修改的数据!'); if ($this->app->db->name('DataMember')->where(['id' => $this->mid])->update($data) !== false) { - // 绑定资源完成检查的任务 $this->success('更新会员资料成功!', $this->getMember()); } else { $this->error('更新会员资料失败!');