SupportController.php 1019 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace app\modules\admin\controllers\shareGroup;
  3. use app\modules\admin\controllers\BaseController;
  4. use app\modules\admin\models\shareGroup\SupportForm;
  5. //扶持区
  6. class SupportController extends BaseController
  7. {
  8. //帮扶佣金列表
  9. public function actionAmountList() {
  10. $form = new SupportForm();
  11. $form->attributes = get_params();
  12. $form->store_id = get_store_id();
  13. return $this->asJson($form->amountList());
  14. }
  15. //帮扶冻结佣金列表
  16. public function actionFreezeAmountList() {
  17. $form = new SupportForm();
  18. $form->attributes = get_params();
  19. $form->store_id = get_store_id();
  20. return $this->asJson($form->freezeAmountList());
  21. }
  22. //上级变动记录
  23. public function actionParentSupportLog() {
  24. $form = new SupportForm();
  25. $form->attributes = get_params();
  26. $form->store_id = get_store_id();
  27. return $this->asJson($form->parentSupportLog());
  28. }
  29. }