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
78799e06
Commit
78799e06
authored
Mar 26, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码调整
parent
77ab8a5a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
13 deletions
+22
-13
Member.php
application/api/controller/Member.php
+22
-13
No files found.
application/api/controller/Member.php
View file @
78799e06
...
...
@@ -23,7 +23,8 @@ class Member extends Basic
/**
* 用户登陆
*
* @return type
* @return \think\Response
* @throws \think\exception\DbException
*/
public
function
login
()
{
...
...
@@ -70,7 +71,7 @@ class Member extends Basic
/**
* 退出登录
*
* @return
typ
e
* @return
\think\Respons
e
*/
public
function
logout
()
{
$id
=
$this
->
userId
?
$this
->
userId
:
$this
->
params
[
'id'
];
...
...
@@ -93,10 +94,7 @@ class Member extends Basic
/**
* 发送短信
* @param Request $this->request
* @return type
*/
/**
*
* @return \think\Response
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
...
...
@@ -281,14 +279,12 @@ class Member extends Basic
}
}
}
$insert_data
[
'referrer_id'
]
=
$referrer_id
;
$insert_data
[
'referrer_source'
]
=
$referrer_source
;
$ge
tui
=
new
GeTuiUntils
();
$ge
_tui
=
new
GeTuiUntils
();
$agent_
=
new
AAgents
();
$agent_data
=
$agent_
->
getAgentInfo
(
'device_id'
,
$referrer_id
);
$content
=
'你有新客户【'
.
$user_nick
.
'-'
.
$phone
.
'】成功注册App'
;
$getui
->
public_push_message_for_one
(
$referrer_id
,
$agent_data
[
'device_id'
],
$content
);
$ge
_
tui
->
public_push_message_for_one
(
$referrer_id
,
$agent_data
[
'device_id'
],
$content
);
}
$insert_data
[
'referrer_id'
]
=
$referrer_id
;
$insert_data
[
'referrer_source'
]
=
$referrer_source
;
...
...
@@ -400,7 +396,10 @@ class Member extends Basic
/**
* 邀请记录
*
* @return type
* @return \think\Response
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public
function
inviteList
()
{
// $id = $this->params['id'];
...
...
@@ -435,7 +434,10 @@ class Member extends Basic
/**
* 生成邀请二维码
*
* @return type
* @return \think\Response
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public
function
qrCode
()
{
...
...
@@ -464,7 +466,11 @@ class Member extends Basic
/**
* 通过AuthToken获取用户信息编辑用
* @return type
*
* @return \think\Response
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public
function
getUserInfo
()
{
...
...
@@ -484,6 +490,9 @@ class Member extends Basic
* 上传头像
*
* @return \think\Response
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public
function
uploadHeadImg
()
{
$data
[
'status'
]
=
101
;
...
...
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