作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

接口

@@ -43,7 +43,7 @@ class UserController extends RestBaseController @@ -43,7 +43,7 @@ class UserController extends RestBaseController
43 */ 43 */
44 public function scoreLog(){ 44 public function scoreLog(){
45 $data=Db::name('user_score_log')->where('user_id',$this->getUserId())->select(); 45 $data=Db::name('user_score_log')->where('user_id',$this->getUserId())->select();
46 - $this->success('我的健康档案',$data); 46 + $this->success('我的积分管理',$data);
47 } 47 }
48 /** 48 /**
49 * @title 注册信息提交 49 * @title 注册信息提交
@@ -65,7 +65,7 @@ class UserController extends RestBaseController @@ -65,7 +65,7 @@ class UserController extends RestBaseController
65 $param['status']=1; 65 $param['status']=1;
66 $param['register_time']=time(); 66 $param['register_time']=time();
67 Db::name('user')->where('id',$this->getUserId())->update($param); 67 Db::name('user')->where('id',$this->getUserId())->update($param);
68 - $this->success('提交成功'); 68 + $this->success('注册信息提交成功');
69 } 69 }
70 70
71 /** 71 /**
@@ -83,7 +83,7 @@ class UserController extends RestBaseController @@ -83,7 +83,7 @@ class UserController extends RestBaseController
83 $re = cmf_check_verification_code($param['mobile'], $param['code'], true); 83 $re = cmf_check_verification_code($param['mobile'], $param['code'], true);
84 if ($re == "") { 84 if ($re == "") {
85 Db::name('user')->where('id',$this->getUserId())->update(['mobile'=>$param['mobile']]); 85 Db::name('user')->where('id',$this->getUserId())->update(['mobile'=>$param['mobile']]);
86 - $this->success('注册提交成功'); 86 + $this->success('手机号注册提交成功');
87 } else { 87 } else {
88 $this->error($re); 88 $this->error($re);
89 } 89 }