问题修复

main
limu 11 months ago
parent de279962db
commit 12127d4c50
  1. 3
      app/controller/admin/order/Order.php

@ -241,9 +241,6 @@ class Order extends BaseController
if (empty($data['min_price']) || empty($data['name']) || empty($data['pay_hp']) || empty($data['id'])) { if (empty($data['min_price']) || empty($data['name']) || empty($data['pay_hp']) || empty($data['id'])) {
return app('json')->fail('数据缺失'); return app('json')->fail('数据缺失');
} }
if (!$this->repository->getDetail($data['id'])) {
return app('json')->fail('该数据不存在');
}
if ($this->repository->getOrderLevel($data['level'],$data['id'])) { if ($this->repository->getOrderLevel($data['level'],$data['id'])) {
return app('json')->fail('该等级已存在'); return app('json')->fail('该等级已存在');
} }

Loading…
Cancel
Save