| 1234567891011121314151617181920212223242526 |
- <?php
- namespace app\modules\client\controllers\v1\integralAppreciation;
- use app\modules\client\controllers\BaseController;
- use app\modules\client\models\v1\integralAppreciation\IndexForm;
- class IndexController extends BaseController
- {
- //活动商品列表
- public function actionGoodsList() {
- $models = new IndexForm();
- $models->attributes = get_params();
- $models->store_id = get_store_id();
- return $this->asJson($models->goodsList());
- }
- //首页数据
- public function actionIndex() {
- $models = new IndexForm();
- $models->attributes = get_params();
- $models->store_id = get_store_id();
- $models->user = get_user();
- return $this->asJson($models->index());
- }
- }
|