| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- /**
- * 重庆赤晓店信息科技有限公司
- * https://www.chixiaodian.com
- * Copyright (c) 2023 赤店商城 All rights reserved.
- */
- namespace app\modules\client\controllers\v1\pt;
- use app\modules\client\controllers\BaseController;
- use app\modules\client\models\v1\pt\PtActivityForm;
- class PtActivityController extends BaseController
- {
- //获取拼团活动商品列表
- public function actionGetPtGoods() {
- $form = new PtActivityForm();
- $form->attributes = get_params();
- $form->store_id = get_store_id();
- return $this->asJson($form->search());
- }
- //获取拼团活动商品列表
- public function actionGetPtBanner() {
- $form = new PtActivityForm();
- $form->attributes = get_params();
- $form->store_id = get_store_id();
- return $this->asJson($form->getBanner());
- }
- //获取拼团活动商品列表
- public function actionGetPtGoodsCat() {
- $form = new PtActivityForm();
- $form->attributes = get_params();
- $form->store_id = get_store_id();
- return $this->asJson($form->getPtGoodsCat());
- }
- //拼团广场
- public function actionGetPtSquare() {
- $form = new PtActivityForm();
- $form->attributes = get_params();
- $form->store_id = get_store_id();
- return $this->asJson($form->getPtSquare());
- }
- }
|