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
1385dcf9
Commit
1385dcf9
authored
Sep 28, 2018
by
734642908@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加公告列表
parent
0016cbc8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
ShopController.class.php
Application/Home/Controller/ShopController.class.php
+24
-0
No files found.
Application/Home/Controller/ShopController.class.php
View file @
1385dcf9
...
@@ -8,6 +8,30 @@ use Think\Controller;
...
@@ -8,6 +8,30 @@ use Think\Controller;
class
ShopController
extends
BaseController
class
ShopController
extends
BaseController
{
{
//公告列表
public
function
noticeList
()
{
$noticeArr
=
array
(
'小詹成功兑换了小蜜蜂防走失背包'
,
'小明成功兑换了小蜜蜂防走失背包'
,
'小斗成功兑换了小蜜蜂防走失背包'
,
'小东成功兑换了小蜜蜂防走失背包'
,
'小李成功兑换了小蜜蜂防走失背包'
,
'小力成功兑换了小蜜蜂防走失背包'
);
$result
=
array
(
'c'
=>
1
,
'msg'
=>
'获取成功'
,
'd'
=>
array
(
'list'
=>
$noticeArr
)
);
echo
$this
->
formatRes
(
$result
);
}
//商品列表
//商品列表
public
function
goodsList
()
public
function
goodsList
()
{
{
...
...
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