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
66666288
Commit
66666288
authored
Jan 08, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
e6b56f6c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
Shop.php
application/api/controller/Shop.php
+1
-1
Basic.php
application/api/extend/Basic.php
+1
-2
HouseInfos.php
application/model/HouseInfos.php
+1
-1
No files found.
application/api/controller/Shop.php
View file @
66666288
...
...
@@ -38,7 +38,7 @@ class Shop extends Basic
{
/* $params = array(
"site_area" =>
2
, //来源 1首页 2搜索
"site_area" =>
1
, //来源 1首页 2搜索
"title" => "尚美",
"carefully_chosen" => 0, //精选商铺--0是1否
"shangpu_type" => 0, //商铺类型(0商场,1街铺)
...
...
application/api/extend/Basic.php
View file @
66666288
...
...
@@ -67,8 +67,7 @@ class Basic extends Controller
}
elseif
(
strtoupper
(
$this
->
request
->
method
())
===
"POST"
)
{
$this
->
params
=
$this
->
request
->
param
()
!=
null
?
$this
->
request
->
param
()
:
null
;
}
$AuthToken
=
$this
->
params
[
'AuthToken'
];
if
(
isset
(
$AuthToken
)
&&
$AuthToken
!=
'null'
&&
!
empty
(
$AuthToken
))
{
if
(
isset
(
$this
->
params
[
'AuthToken'
])
&&
$this
->
params
[
'AuthToken'
]
!=
'null'
&&
!
empty
(
$this
->
params
[
'AuthToken'
]))
{
$jwt
=
new
\Firebase\JWT\JWT
();
$this
->
authToken
=
$this
->
params
[
'AuthToken'
];
$result
=
$jwt
->
decode
(
$this
->
authToken
,
config
(
'jwt_key'
),
array
(
'HS256'
));
//解码token
...
...
application/model/HouseInfos.php
View file @
66666288
...
...
@@ -25,7 +25,7 @@ class HouseInfos extends Model
* @param $params
* @return false|\PDOStatement|string|\think\Collection
*/
function
getHouseInfoList
(
$pageNo
=
1
,
$pageSize
=
15
,
$order_
=
'id desc'
,
$field
,
$params
,
$spTagsArr
)
function
getHouseInfoList
(
$pageNo
=
1
,
$pageSize
=
15
,
$order_
=
'id desc'
,
$field
,
$params
,
$spTagsArr
)
{
return
$this
->
dbHouseInfo
->
field
(
$field
)
...
...
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