mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
积分订单备注
This commit is contained in:
parent
35ed84c534
commit
a06afd81fc
@ -725,12 +725,15 @@ class StoreIntegralOrderServices extends BaseServices
|
||||
* @param int $id
|
||||
* @param string $remark
|
||||
* @return mixed
|
||||
* @throws \think\db\exception\DataNotFoundException
|
||||
* @throws \think\db\exception\DbException
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
*/
|
||||
public function remark(int $id, string $remark)
|
||||
{
|
||||
if (!$remark) throw new AdminException(400106);
|
||||
if (!$id) throw new AdminException(100100);
|
||||
if (!$order = $this->services->get($id)) {
|
||||
if (!$order = $this->dao->get($id)) {
|
||||
throw new AdminException(100025);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user