|
|
@@ -96,7 +96,7 @@ class ExternalPlatformLogic extends BaseLogic
|
|
|
if($model->isEmpty()){
|
|
|
throw new \Exception('工单不存在');
|
|
|
}
|
|
|
- if($model->external_platform_id > 0 && $model->user_confirm_status == 5 && $model->service_status == 3 ){
|
|
|
+ if($model->external_platform_id > 0 && $model->service_status == 3 ){
|
|
|
$order_sns = \app\common\model\orders\RechargeOrder::where('work_id',$model->id)->column('sn');
|
|
|
$goods_payment_type = OrderGoods::whereIn('sn',$order_sns)->value('goods_payment_type');
|
|
|
if(in_array($goods_payment_type,['2','3'])) throw new \Exception('固定价无需分账处理');
|