| | |
| | | |
| | | use app\operations\model\plus\operations\Apply as ApplyModel; |
| | | |
| | | |
| | | use app\operations\model\plus\operations\Operations as OperationsModel; |
| | | |
| | | /** |
| | | |
| | |
| | | public function index() |
| | | { |
| | | $model = new ApplyModel; |
| | | $operationsModel = new OperationsModel; |
| | | $operations = $operationsModel->detail(session('jjjshop_operations')['user']['user_id']); |
| | | $apply_list = $model->getList($this->postData()); |
| | | return $this->renderSuccess('', compact('apply_list')); |
| | | return $this->renderSuccess('', compact('apply_list', 'operations')); |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | } |
| | | |
| | | return $this->renderError('修改失败'); |
| | | |
| | | return $this->renderError($model->getError() ?: '修改失败'); |
| | | |
| | | |
| | | } |