Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
8d881d97
Commit
8d881d97
authored
Jun 07, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
4efe9d95
7dd7c9dc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
apps/basic/Lib/Action/PassportAction.class.php
+2
-1
apps/basic/Lib/Action/SingleAction.class.php
+0
-2
apps/basic/Tpl/default/Single/info_w3g.html
+4
-3
No files found.
apps/basic/Lib/Action/PassportAction.class.php
View file @
8d881d97
...
@@ -514,7 +514,8 @@ class PassportAction extends CommonAction
...
@@ -514,7 +514,8 @@ class PassportAction extends CommonAction
if
(
$res
)
{
if
(
$res
)
{
$this
->
mzError
(
'此手机号已被注册,请更换!'
);
$this
->
mzError
(
'此手机号已被注册,请更换!'
);
}
}
$rnum
=
rand
(
100000
,
999900
);
// $rnum = rand(100000, 999900);
$rnum
=
123456
;
// $sendres = SmsService::send($phone,$rnum);
// $sendres = SmsService::send($phone,$rnum);
$sendres
=
1
;
$sendres
=
1
;
if
(
$sendres
)
{
if
(
$sendres
)
{
...
...
apps/basic/Lib/Action/SingleAction.class.php
View file @
8d881d97
...
@@ -47,8 +47,6 @@ class SingleAction extends CommonAction
...
@@ -47,8 +47,6 @@ class SingleAction extends CommonAction
$res
=
M
(
'single'
)
->
where
(
$map
)
->
find
();
$res
=
M
(
'single'
)
->
where
(
$map
)
->
find
();
}
}
}
}
var_dump
(
$res
);
di
;
$this
->
assign
(
'data'
,
$res
);
$this
->
assign
(
'data'
,
$res
);
$this
->
display
();
$this
->
display
();
...
...
apps/basic/Tpl/default/Single/info_w3g.html
View file @
8d881d97
...
@@ -8,13 +8,14 @@
...
@@ -8,13 +8,14 @@
<div
id=
"app"
>
<div
id=
"app"
>
<div
class=
"layout_v"
>
<div
class=
"layout_v"
>
<if
condition=
"$data.text eq null"
>
{$data.text}
<van-cell
@
click=
"onChangePwd"
title=
"修改密码"
is-link
></van-cell>
<van-cell
@
click=
"onChangePwd"
title=
"修改密码"
is-link
></van-cell>
<!-- <van-cell @click="onFeedback" title="意见反馈" is-link ></van-cell>-->
<!-- <van-cell @click="onFeedback" title="意见反馈" is-link ></van-cell>-->
<!-- <van-cell @click="onAboutUs" title="关于我们" is-link ></van-cell>-->
<!-- <van-cell @click="onAboutUs" title="关于我们" is-link ></van-cell>-->
<van-cell
@
click=
"onQuit"
title=
"退出账号"
is-link
></van-cell>
<van-cell
@
click=
"onQuit"
title=
"退出账号"
is-link
></van-cell>
<else/>
{$data.text}
</if>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment