| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- namespace app\modules\admin\controllers\superSales;
- use app\modules\admin\controllers\BaseController;
- use app\modules\admin\models\superSales\IndexForm;
- class IndexController extends BaseController
- {
- //开团列表
- public function actionSuperSalesList() {
- $form = new IndexForm();
- $form->attributes = get_params();
- $form->store_id = get_store_id();
- return $this->asJson($form->superSalesList());
- }
- //参团列表
- public function actionSuperSalesUserList() {
- $form = new IndexForm();
- $form->attributes = get_params();
- $form->store_id = get_store_id();
- return $this->asJson($form->superSalesUserList());
- }
- //团长列表
- public function actionSuperSalesSubList() {
- $form = new IndexForm();
- $form->attributes = get_params();
- $form->store_id = get_store_id();
- return $this->asJson($form->superSalesSubList());
- }
- //直推奖列表
- public function actionDirectAwardList() {
- $form = new IndexForm();
- $form->attributes = get_params();
- $form->store_id = get_store_id();
- return $this->asJson($form->directAwardList());
- }
- //分红奖列表
- public function actionDividendAwardList() {
- $form = new IndexForm();
- $form->attributes = get_params();
- $form->store_id = get_store_id();
- return $this->asJson($form->dividendAwardList());
- }
- }
|