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