|
@@ -6,19 +6,9 @@ use Dever;
|
|
|
|
|
|
class Act extends Core
|
|
|
{
|
|
|
- public function getInfo()
|
|
|
+ # 采购
|
|
|
+ public function buy()
|
|
|
{
|
|
|
- $this->data['user'] = $this->user;
|
|
|
-
|
|
|
- # 获取拥有的优惠券数量
|
|
|
- $this->data['coupon_num'] = Dever::db('shop/user_coupon')->total(array('uid' => $this->uid));
|
|
|
-
|
|
|
- $this->data['card_num'] = Dever::db('goods/card_code')->total(array('uid' => $this->uid));
|
|
|
-
|
|
|
- $this->data['score'] = Dever::load('score/lib/core')->getUserScore($this->uid);
|
|
|
-
|
|
|
- $this->data['msg'] = Dever::load('message/lib/data')->num($this->uid);
|
|
|
-
|
|
|
- return $this->data;
|
|
|
+ # 获取这个
|
|
|
}
|
|
|
}
|