|
@@ -84,6 +84,21 @@ class Recruitment extends Controller
|
|
|
DataRecruitment::mForm('form');
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 表单结果处理
|
|
|
+ * @param boolean $result
|
|
|
+ * @throws \think\db\exception\DataNotFoundException
|
|
|
+ * @throws \think\db\exception\DbException
|
|
|
+ * @throws \think\db\exception\ModelNotFoundException
|
|
|
+ */
|
|
|
+ protected function _form_result(bool $result)
|
|
|
+ {
|
|
|
+ if ($result && $this->request->isPost()) {
|
|
|
+// GoodsService::stock(input('code'));
|
|
|
+ $this->success('恭喜,数据保存成功!', 'javascript:history.back()');
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
public function _form_filter($vo){
|
|
|
if ($this->request->isGet()) {
|
|
|
|