update:商户合同添加备忘
This commit is contained in:
parent
aa3e30522b
commit
43ae02fea1
@ -186,4 +186,16 @@ class ShopContractController extends BaseAdminController
|
||||
);
|
||||
return app(JunziqianController::class)->EvidenceShopDownload($request);
|
||||
}
|
||||
|
||||
public function addNote()
|
||||
{
|
||||
$params = $this->request->param(); // id notes
|
||||
$shopContract = ShopContract::where('id', $params['id'])->find();
|
||||
if (empty($shopContract)) {
|
||||
return $this->fail('合同不存在');
|
||||
}
|
||||
$shopContract->notes = $params['notes'];
|
||||
$shopContract->save();
|
||||
return $this->success('成功');
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user