|
@@ -70,12 +70,10 @@ class NoticeController extends PublicController
|
|
|
$cg = PurchaseClass::getByCondition(['orderSn' => $orderSn], true);
|
|
$cg = PurchaseClass::getByCondition(['orderSn' => $orderSn], true);
|
|
|
|
|
|
|
|
//标记当天已收一次包装费,岭南批发市场用的功能
|
|
//标记当天已收一次包装费,岭南批发市场用的功能
|
|
|
- if (isset($cg->packCost) && $cg->packCost > 0) {
|
|
|
|
|
- $customId = $cg->customId ?? 0;
|
|
|
|
|
- $current = date("Y_m_d");
|
|
|
|
|
- $key = 'ghs_custom_today_has_get_pack_cost_' . $current . '_' . $customId;
|
|
|
|
|
- Yii::$app->redis->executeCommand('SETEX', [$key, 86400, '1']);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ $customId = $cg->customId ?? 0;
|
|
|
|
|
+ $current = date("Y_m_d");
|
|
|
|
|
+ $key = 'ghs_custom_today_has_get_pack_cost_' . $current . '_' . $customId;
|
|
|
|
|
+ Yii::$app->redis->executeCommand('SETEX', [$key, 86400, '1']);
|
|
|
|
|
|
|
|
if (!empty($cg) && $cg->payStatus == 1) {
|
|
if (!empty($cg) && $cg->payStatus == 1) {
|
|
|
//微信通知
|
|
//微信通知
|