Commit 1385dcf9 authored by 734642908@qq.com's avatar 734642908@qq.com

添加公告列表

parent 0016cbc8
...@@ -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()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment