Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
0fbc2010
Commit
0fbc2010
authored
Jun 26, 2018
by
hujun
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/wx0604' into wx0604
parents
c4f08aa2
e49ef4f4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
3 deletions
+7
-3
Register.php
application/api/controller/Register.php
+3
-0
RegisterValidate.php
application/api/validate/RegisterValidate.php
+2
-1
download_c.html
application/app/view/index/download_c.html
+1
-1
download_b.html
application/app_broker/view/index/download_b.html
+1
-1
bg_download_b@2x.png
public/app/images/bg_download_b@2x.png
+0
-0
bg_download_c@2x.png
public/app/images/bg_download_c@2x.png
+0
-0
No files found.
application/api/controller/Register.php
View file @
0fbc2010
...
...
@@ -132,6 +132,9 @@ class Register extends Basic
"wx_union_id" => "asdfasfasdf",
"phone" => 25983,
);*/
if
(
!
isset
(
$params
[
"phone"
]))
{
return
$this
->
response
(
"101"
,
"手机号为必填字段"
);
}
$checkResult
=
$this
->
validate
(
$params
,
"RegisterValidate.bind"
);
if
(
true
!==
$checkResult
)
{
return
$this
->
response
(
"101"
,
$checkResult
);
...
...
application/api/validate/RegisterValidate.php
View file @
0fbc2010
...
...
@@ -39,6 +39,6 @@ class RegisterValidate extends Validate
'verify'
=>
[
'phone'
,
'device_id'
],
'register'
=>
[
'phone'
,
'device_id'
,
'code'
],
'removeBind'
=>
[
'user_id'
,
'buyer_id'
],
'bind'
=>
[
'
user_id'
,
'wx_union_id
'
],
'bind'
=>
[
'
wx_union_id'
,
'phone
'
],
];
}
\ No newline at end of file
application/app/view/index/download_c.html
View file @
0fbc2010
...
...
@@ -38,7 +38,7 @@
<script>
window
.
onload
=
function
()
{
$
(
'#app_ban'
).
attr
(
'src'
,
'/app/images/bg_download.png'
);
$
(
'#app_ban'
).
attr
(
'src'
,
'/app/images/bg_download
_c@2x
.png'
);
$
(
'title'
).
html
(
'下载'
);
$
(
'.xiazai-p-fuju'
).
show
();
//0是c端,2是b端
...
...
application/app_broker/view/index/download_b.html
View file @
0fbc2010
...
...
@@ -36,7 +36,7 @@
<script>
window
.
onload
=
function
()
{
$
(
'#app_ban'
).
attr
(
'src'
,
'/app/images/bg_download.png'
);
$
(
'#app_ban'
).
attr
(
'src'
,
'/app/images/bg_download
_b@2x
.png'
);
$
(
'title'
).
html
(
'下载'
);
$
(
'.xiazai-p-fuju'
).
show
();
//0是c端,2是b端
...
...
public/app/images/bg_download.png
→
public/app/images/bg_download
_b@2x
.png
100755 → 100644
View file @
0fbc2010
File moved
public/app/images/bg_download_c@2x.png
0 → 100644
View file @
0fbc2010
132 KB
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