...
|
...
|
@@ -43,7 +43,7 @@ class UserController extends RestBaseController |
|
|
*/
|
|
|
public function scoreLog(){
|
|
|
$data=Db::name('user_score_log')->where('user_id',$this->getUserId())->select();
|
|
|
$this->success('我的健康档案',$data);
|
|
|
$this->success('我的积分管理',$data);
|
|
|
}
|
|
|
/**
|
|
|
* @title 注册信息提交
|
...
|
...
|
@@ -65,7 +65,7 @@ class UserController extends RestBaseController |
|
|
$param['status']=1;
|
|
|
$param['register_time']=time();
|
|
|
Db::name('user')->where('id',$this->getUserId())->update($param);
|
|
|
$this->success('提交成功');
|
|
|
$this->success('注册信息提交成功');
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -83,7 +83,7 @@ class UserController extends RestBaseController |
|
|
$re = cmf_check_verification_code($param['mobile'], $param['code'], true);
|
|
|
if ($re == "") {
|
|
|
Db::name('user')->where('id',$this->getUserId())->update(['mobile'=>$param['mobile']]);
|
|
|
$this->success('注册提交成功');
|
|
|
$this->success('手机号注册提交成功');
|
|
|
} else {
|
|
|
$this->error($re);
|
|
|
}
|
...
|
...
|
|