|
|
@@ -164,7 +164,7 @@ class NoticeController extends PublicController
|
|
|
|
|
|
if ($capitalType == dict::getDict('capitalType', 'xhOrder', 'id')) {
|
|
|
//解决重复通知,重要
|
|
|
- $cacheKey = 'mall_order_pay_' . $orderSn;
|
|
|
+ $cacheKey = 'pay_success_notice_' . $orderSn;
|
|
|
$has = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
if (empty($has)) {
|
|
|
Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 864000, 'has']);
|
|
|
@@ -272,7 +272,7 @@ class NoticeController extends PublicController
|
|
|
echo '<xml><return_code><![CDATA[SUCCESS]]></return_code><return_msg><![CDATA[OK]]></return_msg></xml>';
|
|
|
|
|
|
//解决重复通知
|
|
|
- $cacheKey = 'mall_order_pay_' . $orderSn;
|
|
|
+ $cacheKey = 'pay_success_notice_' . $orderSn;
|
|
|
$has = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
if (empty($has)) {
|
|
|
Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 864000, 'has']);
|
|
|
@@ -507,7 +507,7 @@ class NoticeController extends PublicController
|
|
|
|
|
|
if ($capitalType == dict::getDict('capitalType', 'xhOrder', 'id')) {
|
|
|
//避免重复
|
|
|
- $cacheKey = 'mall_order_pay_' . $orderSn;
|
|
|
+ $cacheKey = 'pay_success_notice_' . $orderSn;
|
|
|
$has = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
if (empty($has)) {
|
|
|
Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 864000, 'has']);
|