Merge branch 'master-fix-0915' into dev
This commit is contained in:
commit
2e44d5bb02
@ -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