|
|
@@ -64,9 +64,9 @@ class ServiceOrderLogic extends BaseLogic
|
|
|
Db::startTrans();
|
|
|
try {
|
|
|
// 订单位置是否在服务区内
|
|
|
-// if(!self::isService($params)){
|
|
|
-// throw new Exception('已超出服务区域!');
|
|
|
-// }
|
|
|
+ if(!self::isService($params)){
|
|
|
+ throw new Exception('已超出服务区域!');
|
|
|
+ }
|
|
|
$goods = Goods::findOrEmpty($params['goods_id']);
|
|
|
if($goods->isEmpty()){
|
|
|
throw new Exception('产品不存在!');
|