|
|
@@ -40,7 +40,12 @@ class GhsController extends BaseController
|
|
|
if ($ghs->salt != $salt) {
|
|
|
util::fail('不是您的供货商');
|
|
|
}
|
|
|
- util::success(['info' => $ghs]);
|
|
|
+ $customId = $ghs->customId ?? 0;
|
|
|
+ $custom = CustomClass::getById($customId, true);
|
|
|
+ if (empty($custom)) {
|
|
|
+ util::fail('供货商信息不完整');
|
|
|
+ }
|
|
|
+ util::success(['ghs' => $ghs, 'custom' => $custom]);
|
|
|
}
|
|
|
|
|
|
//获取物流列表 ssh 20230608
|