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
4969ed72
Commit
4969ed72
authored
May 28, 2018
by
clone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of
https://gitee.com/zwyjjc/tl_estate
into test
parents
b7b5b418
4ad11ec9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Client.php
application/api_broker/controller/Client.php
+1
-1
Supervise.php
application/api_broker/controller/Supervise.php
+5
-5
Basic.php
application/api_broker/extend/Basic.php
+1
-1
No files found.
application/api_broker/controller/Client.php
View file @
4969ed72
...
@@ -261,7 +261,7 @@ class Client extends Basic
...
@@ -261,7 +261,7 @@ class Client extends Basic
return
$this
->
response
(
"300"
,
"参数不全"
,
[
'remote_groupid'
=>
''
]);
return
$this
->
response
(
"300"
,
"参数不全"
,
[
'remote_groupid'
=>
''
]);
}
}
$phone_or_name
=
trim
(
$params
[
'phone_or_name'
]);
$phone_or_name
=
empty
(
$params
[
'phone_or_name'
])
?
""
:
trim
(
$params
[
'phone_or_name'
]);
$pagenum
=
isset
(
$params
[
'pagenum'
])
?
$params
[
'pagenum'
]
:
1
;
$pagenum
=
isset
(
$params
[
'pagenum'
])
?
$params
[
'pagenum'
]
:
1
;
$pagesize
=
15
;
$pagesize
=
15
;
$user_id
=
$params
[
'user_id'
];
$user_id
=
$params
[
'user_id'
];
...
...
application/api_broker/controller/Supervise.php
View file @
4969ed72
...
@@ -31,17 +31,17 @@ class Supervise extends Basic
...
@@ -31,17 +31,17 @@ class Supervise extends Basic
$data
[
'id'
]
=
''
;
$data
[
'id'
]
=
''
;
$data
[
'user_id'
]
=
$this
->
agentId
;
$data
[
'user_id'
]
=
$this
->
agentId
;
$data
[
'usertable'
]
=
$this
->
params
[
'usertable'
];
$data
[
'usertable'
]
=
empty
(
$this
->
params
[
'usertable'
])
?
""
:
$this
->
params
[
'usertable'
];
$data
[
'visitor'
]
=
$this
->
agentPhone
;
$data
[
'visitor'
]
=
$this
->
agentPhone
;
$data
[
'visitor_name'
]
=
$this
->
agentName
;
$data
[
'visitor_name'
]
=
$this
->
agentName
;
$data
[
'agentshopname'
]
=
$this
->
params
[
'agentshopname'
];
$data
[
'agentshopname'
]
=
empty
(
$this
->
params
[
'agentshopname'
])
?
''
:
$this
->
params
[
'agentshopname'
];
$data
[
'leader_name'
]
=
$this
->
params
[
'leader_name'
];
$data
[
'leader_name'
]
=
empty
(
$this
->
params
[
'leader_name'
])
?
''
:
$this
->
params
[
'leader_name'
];
$data
[
'leader_phone'
]
=
$this
->
params
[
'leader_phone'
];
$data
[
'leader_phone'
]
=
empty
(
$this
->
params
[
'leader_phone'
])
?
''
:
$this
->
params
[
'leader_phone'
];
$data
[
'address'
]
=
$this
->
params
[
'address'
];
$data
[
'address'
]
=
$this
->
params
[
'address'
];
$data
[
'remarks'
]
=
$this
->
params
[
'remarks'
];
$data
[
'remarks'
]
=
$this
->
params
[
'remarks'
];
$data
[
'longitude'
]
=
$this
->
params
[
'longitude'
];
$data
[
'longitude'
]
=
$this
->
params
[
'longitude'
];
$data
[
'latitude'
]
=
$this
->
params
[
'latitude'
];
$data
[
'latitude'
]
=
$this
->
params
[
'latitude'
];
$data
[
'distance'
]
=
$this
->
params
[
'distance'
];
$data
[
'distance'
]
=
empty
(
$this
->
params
[
'distance'
])
?
''
:
$this
->
params
[
'distance'
];
$data
[
'shop_id'
]
=
$this
->
params
[
'shop_id'
];
$data
[
'shop_id'
]
=
$this
->
params
[
'shop_id'
];
$data
[
'modified'
]
=
date
(
'Y-m-d H:i:s'
);
$data
[
'modified'
]
=
date
(
'Y-m-d H:i:s'
);
...
...
application/api_broker/extend/Basic.php
View file @
4969ed72
...
@@ -90,7 +90,7 @@ class Basic extends Controller
...
@@ -90,7 +90,7 @@ class Basic extends Controller
$this
->
authToken
=
$this
->
params
[
'AuthToken'
];
$this
->
authToken
=
$this
->
params
[
'AuthToken'
];
$this
->
agentId
=
$result
->
data
->
id
;
$this
->
agentId
=
$result
->
data
->
id
;
$this
->
agentPhone
=
$result
->
data
->
phone
;
$this
->
agentPhone
=
$result
->
data
->
phone
;
$this
->
agentName
=
$result
->
data
->
name
;
$this
->
agentName
=
isset
(
$result
->
data
->
name
)
?
$result
->
data
->
name
:
""
;
$this
->
timeStamp_
=
$result
->
timeStamp_
;
$this
->
timeStamp_
=
$result
->
timeStamp_
;
}
}
$requestPath
=
$this
->
request
->
routeInfo
()[
"rule"
][
0
]
.
"/"
.
$this
->
request
->
routeInfo
()[
"rule"
][
1
];
$requestPath
=
$this
->
request
->
routeInfo
()[
"rule"
][
0
]
.
"/"
.
$this
->
request
->
routeInfo
()[
"rule"
][
1
];
...
...
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