| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- namespace app\modules\admin\controllers;
- use app\modules\admin\models\SharingReceiverForm;
- class SharingReceiverController extends BaseController
- {
- //自定义分账接收方列表
- public function actionList() {
- $form = new SharingReceiverForm();
- $form->attributes = get_params();
- return $this->asJson($form->list());
- }
- //自定义分账接收方保存
- public function actionSave() {
- $form = new SharingReceiverForm();
- $form->attributes = post_params();
- return $this->asJson($form->save());
- }
- //自定义分账接收方删除
- public function actionDel() {
- $form = new SharingReceiverForm();
- $form->attributes = post_params();
- return $this->asJson($form->del());
- }
- //让利比例明细列表
- public function actionProfitList() {
- $form = new SharingReceiverForm();
- $form->attributes = get_params();
- return $this->asJson($form->profitList());
- }
- //商城让利比例详情
- public function actionStoreProfitDetail() {
- $form = new SharingReceiverForm();
- $form->attributes = get_params();
- return $this->asJson($form->storeProfitDetail());
- }
- //商城比例详情列表数据
- public function actionStoreProfitDetailList() {
- $form = new SharingReceiverForm();
- $form->attributes = get_params();
- return $this->asJson($form->storeProfitList());
- }
- }
|