修复涉及五个文件, 可以参考后面对比图片内容进行内容替换。
建议修改前备份文件!
建议修改前备份文件!
建议修改前备份文件!
- app/adminapi/controller/v1/marketing/integral/StoreIntegralOrder.php line:244
$data = $this->request->postMore([['delivery_name', ''], ['delivery_code', ''], ['delivery_id', '']]);
- app/adminapi/controller/v1/order/StoreOrder.php line:536
$data = $this->request->postMore([['delivery_name', ''], ['delivery_code', ''], ['delivery_id', '']]);
- app/services/activity/integral/StoreIntegralOrderServices.php line:619
$f[] = Form::select('delivery_code', '快递公司', (string)$orderInfo->getData('delivery_code'))->setOptions($expressServices->expressSelectForm(['is_show' => 1]))->required('请选择快递公司');
- app/services/activity/integral/StoreIntegralOrderServices.php line:679
case 'express': // 检测快递公司编码 /** @var ExpressServices $expressServices */ $expressServices = app()->make(ExpressServices::class); if ($name = $expressServices->value(['code' => $data['delivery_code']], 'name')) { $data['delivery_name'] = $name; } else { throw new AdminException('请核对快递公司编码'); } break; default:
- app/services/order/StoreOrderDeliveryServices.php line:265
$f[] = Form::select('delivery_code', '快递公司', (string)$orderInfo->getData('delivery_code'))->setOptions($expressServices->expressSelectForm(['is_show' => 1]))->required('请选择快递公司');
- app/services/order/StoreOrderDeliveryServices.php line:296
case 'express': if (!$data['delivery_id']) { throw new AdminException('请输入快递单号'); } // 检测快递公司编码 /** @var ExpressServices $expressServices */ $expressServices = app()->make(ExpressServices::class); if ($name = $expressServices->value(['code' => $data['delivery_code']], 'name')) { $data['delivery_name'] = $name; } else { throw new AdminException('请核对快递公司编码'); } break; case 'fictitious':
- crmeb/app/services/shipping/ExpressServices.php line:175
$data[] = ['label' => $value['name'], 'value' => $value['code']];
对比调整参考:
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}