| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- namespace app\modules\admin\controllers\storeDividends;
- use app\modules\admin\controllers\BaseController;
- use app\modules\admin\models\storeDividends\IndexForm;
- class IndexController extends BaseController
- {
- /**
- * 平台分红池
- */
- public function actionStoreDividendsPool() {
- $form = new IndexForm();
- $form->attributes = get_params();
- return $this->asJson($form->storeDividendsPool());
- }
- /**
- * 让利明细
- */
- public function actionStoreDividendsDetail() {
- $form = new IndexForm();
- $form->attributes = get_params();
- return $this->asJson($form->storeDividendsDetail());
- }
- /**
- * 分红记录
- */
- public function actionStoreDividendsRecord() {
- $form = new IndexForm();
- $form->attributes = get_params();
- return $this->asJson($form->storeDividendsRecord());
- }
- /**
- * 执行分红
- */
- public function actionStoreDividendsSend() {
- $form = new IndexForm();
- $form->attributes = post_params();
- return $this->asJson($form->storeDividendsSend());
- }
- /**
- * 分红明细
- */
- public function actionStoreDividendsDetailList() {
- $form = new IndexForm();
- $form->attributes = get_params();
- return $this->asJson($form->storeDividendsDetailList());
- }
- }
|