@@ -408,10 +408,6 @@ class PurchaseService extends BaseService
if (empty($shop)) {
util::fail('没有找到门店63');
}
- // actTime 活跃时间,只记录以天为单位的时候戳,用于花店注册时推荐批发店
- $shop->actTime = strtotime(date('Y-m-d'));
- $shop->save();
-
$mainId = $shop->mainId ?? 0;
$main = MainClass::getLockById($mainId);
if (empty($main)) {
@@ -128,6 +128,10 @@ class notifyConsumer implements ConsumerInterface
return false;
+ // actTime 活跃时间,只记录以天为单位的时候戳,用于花店注册时推荐批发店
+ $shop->actTime = strtotime(date('Y-m-d'));
+ $shop->save();
+
WxMessageClass::ghsHasNewOrderInform($shop, $order);
// 向供货商App发通知