切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
732aebc9ea6088ffb4f841bd520af5c71afe0300
1 个父辈
86bce3f0
1 个管道 的构建
通过
耗费 0 秒
5
变更
3
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
10 行增加
和
2 行删除
app/portal/controller/PersonalcenterController.php
public/themes/admin_simpleboot3/admin/audit/audit_edit.html
public/themes/simpleboot3/portal/personalcenter/add_information.html
app/portal/controller/PersonalcenterController.php
查看文件 @
732aebc
...
...
@@ -345,6 +345,12 @@ class PersonalcenterController extends WeChatBaseController{
$code
=
session
(
'code'
);
if
(
$code
==
$_POST
[
'code'
]){
//判断是否提交过
$id_num
=
$_POST
[
'id_num'
];
$id_number
=
Db
::
name
(
'sale_audit'
)
->
where
(
"id_number = '
$id_num
' "
)
->
find
();
if
(
!
empty
(
$id_number
)){
return
4
;
}
$data
[
'name'
]
=
$_POST
[
'name'
];
$data
[
'phone'
]
=
$_POST
[
'phone'
];
$data
[
'id_number'
]
=
$_POST
[
'id_num'
];
...
...
public/themes/admin_simpleboot3/admin/audit/audit_edit.html
查看文件 @
732aebc
...
...
@@ -36,11 +36,11 @@
</tr>
<tr>
<th>
身份证正面
</th>
<td><img
src=
"{:cmf_get_image_url($data.img_front)}"
alt=
""
></td>
<td><img
src=
"{:cmf_get_image_url($data.img_front)}"
style=
"width:auto;height:auto;max-width: 100%;max-height: 100%;"
alt=
""
></td>
</tr>
<tr>
<th>
身份证反面
</th>
<td><img
src=
"{:cmf_get_image_url($data.img_back)}"
alt=
""
></td>
<td><img
src=
"{:cmf_get_image_url($data.img_back)}"
style=
"width:auto;height:auto;max-width: 100%;max-height: 100%;"
alt=
""
></td>
</tr>
</table>
<div
class=
"form-group"
>
...
...
public/themes/simpleboot3/portal/personalcenter/add_information.html
查看文件 @
732aebc
...
...
@@ -202,6 +202,8 @@
}
else
if
(
data
==
2
){
$
(
'.log_two_bottom_btn'
).
text
(
'提交'
).
attr
(
'disabled'
,
false
);
alert
(
'提交失败'
);
}
else
if
(
data
==
4
){
alert
(
'已提交'
);
}
else
if
(
data
==
1
){
window
.
location
.
href
=
"{:url('Personalcenter/personal_center')}"
;
}
...
...
请
注册
或
登录
后发表评论