Merge branch 'master-fix-0915' into dev

This commit is contained in:
chenbo 2023-09-15 13:53:33 +08:00
commit 2e44d5bb02

View File

@ -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('成功');
}
}