创建服务包订单增加价格环境区分
This commit is contained in:
parent
646802a2ab
commit
8e63a94bb4
@ -453,6 +453,10 @@ class OrderServicePackageService extends BaseService
|
||||
return fail(HttpEnumCode::HTTP_ERROR, "订单创建失败");
|
||||
}
|
||||
|
||||
if (\Hyperf\Config\config("app_env") == "dev"){
|
||||
$service_price = 0.01;
|
||||
}
|
||||
|
||||
Db::beginTransaction();
|
||||
|
||||
$generator = $this->container->get(IdGeneratorInterface::class);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user