|
|
@@ -88,13 +88,14 @@ class GhsClass extends BaseClass
|
|
|
$custom = CustomClass::addCustom($customData);
|
|
|
$customId = $custom['id'] ?? 0;
|
|
|
self::updateById($ghsId, ['customId' => $customId]);
|
|
|
- if ($type == 1) {
|
|
|
- return $ghs;
|
|
|
- }
|
|
|
|
|
|
//有新客户提醒供货商
|
|
|
WxMessageClass::newGhsCustomInform($ghsShop, $custom);
|
|
|
|
|
|
+ if ($type == 1) {
|
|
|
+ return $ghs;
|
|
|
+ }
|
|
|
+
|
|
|
return $custom;
|
|
|
}
|
|
|
|