切换导航条
此项目
正在载入...
登录
潘浩文
/
maifuzi
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
潘浩文
6 years ago
提交
19fd7618764918cd4e05db1a4887a5a984c0080c
1 个父辈
c3654e53
master
1 个管道 的构建
通过
耗费 0 秒
接口
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
api/portal/controller/UserController.php
api/portal/controller/UserController.php
查看文件 @
19fd761
...
...
@@ -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
);
}
...
...
请
注册
或
登录
后发表评论