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
5afd34c6
Commit
5afd34c6
authored
Oct 25, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
1c46eacc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Location.php
application/api_broker/controller/Location.php
+2
-2
Broker.php
application/index/controller/Broker.php
+2
-2
No files found.
application/api_broker/controller/Location.php
View file @
5afd34c6
...
...
@@ -32,7 +32,7 @@ class Location extends Basic
"agent_id" => 1,
"city" => "上海市"
);*/
$checkResult
=
$this
->
validate
(
$params
,
"LocationValidate.saveSiteCityVerify"
);
/*
$checkResult = $this->validate($params, "LocationValidate.saveSiteCityVerify");
if (true !== $checkResult) {
return $this->response("101", $checkResult);
}
...
...
@@ -45,7 +45,7 @@ class Location extends Basic
$this->redis_->set(self::CITY_AGENTS . $agent_id, $city);
} else {
return $this->response("101", "redis service not found");
}
}
*/
return
$this
->
response
(
"200"
,
"success"
,
[]);
...
...
application/index/controller/Broker.php
View file @
5afd34c6
...
...
@@ -281,14 +281,14 @@ class Broker extends Basic
$msg
=
''
;
$code
=
200
;
/*
try {
$redis_ = RedisExt::getRedis();
$redis_->set("agent_city_" . $this->userId, $this->params['city']);
} catch (\Exception $e) {
$code = 101;
$msg = $e->getMessage();
}
}
*/
return
$this
->
response
(
$code
,
$msg
);
}
...
...
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