| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- namespace app\modules\admin\controllers;
- use app\models\SaaSLeaguePriceLog;
- use app\models\SaasUser;
- use app\models\Store;
- use app\modules\admin\models\LeagueForm;
- class LeagueController extends BaseController
- {
- //获取用户联盟券
- public function actionUserLeague()
- {
- $form = new LeagueForm();
- $form->attributes = get_params();
- return $this->asJson($form->userLeague());
- }
- //获取用户联盟券
- public function actionUserLeagueInfo()
- {
- $form = new LeagueForm();
- $form->attributes = get_params();
- return $this->asJson($form->userLeagueInfo());
- }
- //获取商家联盟券
- public function actionStoreLeague() {
- $form = new LeagueForm();
- $form->attributes = get_params();
- return $this->asJson($form->storeLeague());
- }
- //获取商家联盟券记录
- public function actionStoreLeagueLog() {
- $form = new LeagueForm();
- $form->attributes = get_params();
- return $this->asJson($form->storeLeagueLog());
- }
- //商家联盟券信息
- public function actionStoreLeagueInfo()
- {
- $form = new LeagueForm();
- $form->attributes = get_params();
- return $this->asJson($form->storeLeagueInfo());
- }
- //
- }
|