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
0b0e9f87
Commit
0b0e9f87
authored
Nov 16, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注册
parent
79f8cc6e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
Register.php
application/api/controller/Register.php
+7
-7
RegisterService.php
application/api/service/RegisterService.php
+3
-1
No files found.
application/api/controller/Register.php
View file @
0b0e9f87
...
@@ -66,13 +66,13 @@ class Register extends Basic
...
@@ -66,13 +66,13 @@ class Register extends Basic
{
{
header
(
'Access-Control-Allow-Origin:*'
);
header
(
'Access-Control-Allow-Origin:*'
);
$params
=
$this
->
params
;
$params
=
$this
->
params
;
/*
$params = array(
/*
$params = array(
"phone" => "1
6617616471
",
"phone" => "1
8516077520
",
"device_id" => "1
111
",
"device_id" => "1
54235127061783
",
"code" =>
1231
,
"code" =>
8977
,
"wx_union_id" => "o
NOSMwfDsUAXGdq0B-NzNYSep_xw
", //false
"wx_union_id" => "o
xROBwAVrJV7Y_z5wZWKN8HuF55Q
", //false
"referrer_id" =>
1
, //邀请人id 经纪人or客户 也用于判断是否是分享出去的请求
"referrer_id" =>
94
, //邀请人id 经纪人or客户 也用于判断是否是分享出去的请求
"referrer_source" =>
2
0, //false
"referrer_source" =>
1
0, //false
);*/
);*/
//苹果审核
//苹果审核
...
...
application/api/service/RegisterService.php
View file @
0b0e9f87
...
@@ -97,7 +97,9 @@ class RegisterService
...
@@ -97,7 +97,9 @@ class RegisterService
return
[
"code"
=>
101
,
"data"
=>
"没有找到授权信息"
];
return
[
"code"
=>
101
,
"data"
=>
"没有找到授权信息"
];
}
}
//todo 此处有个关系,解绑上一个的id
//todo 此处有个关系,解绑上一个的id
$this
->
userModel
->
unbundlingWx
([
"buyer_id"
=>
$buyer_id
]);
if
(
$buyer_id
>
0
){
$this
->
userModel
->
unbundlingWx
([
"buyer_id"
=>
$buyer_id
]);
}
}
}
//判断邀请关系 if邀请人是用户的话则此客户的盘方修改为邀请人的盘方
//判断邀请关系 if邀请人是用户的话则此客户的盘方修改为邀请人的盘方
...
...
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