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
f42407e6
Commit
f42407e6
authored
May 13, 2018
by
clone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
aced8688
637825a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Version.php
application/api/controller/Version.php
+3
-0
ADistrict.php
application/model/ADistrict.php
+1
-1
No files found.
application/api/controller/Version.php
View file @
f42407e6
...
@@ -38,6 +38,9 @@ class Version extends Basic
...
@@ -38,6 +38,9 @@ class Version extends Basic
if
(
isset
(
$type
)){
if
(
isset
(
$type
)){
$this
->
response
(
"101"
,
"请求的设备类型不能为空"
);
$this
->
response
(
"101"
,
"请求的设备类型不能为空"
);
}
}
if
(
$type
==
"android"
){
$type
=
0
;
}
$versionResult
=
$this
->
appVersion
->
getVersion
(
$type
);
$versionResult
=
$this
->
appVersion
->
getVersion
(
$type
);
return
$this
->
response
(
"200"
,
"request success"
,
$versionResult
);
return
$this
->
response
(
"200"
,
"request success"
,
$versionResult
);
}
}
...
...
application/model/ADistrict.php
View file @
f42407e6
...
@@ -107,7 +107,7 @@ class ADistrict extends BaseModel
...
@@ -107,7 +107,7 @@ class ADistrict extends BaseModel
$agents
=
Db
::
table
(
'a_agents'
)
->
field
(
'name,phone'
)
$agents
=
Db
::
table
(
'a_agents'
)
->
field
(
'name,phone'
)
->
where
([
->
where
([
'status'
=>
0
,
'status'
=>
0
,
'level'
=>
[
'in'
,[
'30,40'
]],
'level'
=>
[
'in'
,[
30
,
40
]],
'district_id'
=>
$id
'district_id'
=>
$id
])
->
find
();
])
->
find
();
...
...
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