Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ylc.llewan.com
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
llewan
ylc.llewan.com
Commits
2020ba80
Commit
2020ba80
authored
Sep 06, 2018
by
734642908@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加没有数据错误信息
parent
5e906338
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
GameModel.class.php
Application/Home/Model/GameModel.class.php
+15
-7
No files found.
Application/Home/Model/GameModel.class.php
View file @
2020ba80
...
@@ -18,13 +18,21 @@ class GameModel extends BaseModel
...
@@ -18,13 +18,21 @@ class GameModel extends BaseModel
$field
=
'sysid,name,gamer,ad,appid,gourl'
;
$field
=
'sysid,name,gamer,ad,appid,gourl'
;
$gameList
=
M
(
"yl_game"
,
""
,
$this
->
__lewan_hezi
)
->
where
(
array
(
'status'
=>
1
))
->
field
(
$field
)
->
limit
(
$skip
,
$size
)
->
select
();
$gameList
=
M
(
"yl_game"
,
""
,
$this
->
__lewan_hezi
)
->
where
(
array
(
'status'
=>
1
))
->
field
(
$field
)
->
limit
(
$skip
,
$size
)
->
select
();
$result
=
array
(
if
(
!
empty
(
$gameList
))
{
'c'
=>
1
$result
=
array
(
,
'msg'
=>
'获取成功'
'c'
=>
1
,
'd'
=>
array
(
,
'msg'
=>
'获取成功'
'gameList'
=>
$gameList
,
'd'
=>
array
(
)
'gameList'
=>
$gameList
);
)
);
}
else
{
$result
=
array
(
'c'
=>
2
,
'msg'
=>
'暂无数据'
);
}
return
$result
;
return
$result
;
}
}
...
...
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