|
|
@@ -26,7 +26,7 @@ class PurchaseClearController extends BaseController
|
|
|
$cacheKey = 'hd_clear_order_pay_' . $ghsId . '_' . $staffId;
|
|
|
$has = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
if (!empty($has)) {
|
|
|
- util::fail('请5秒之后再提交');
|
|
|
+ util::fail('请稍等5秒再操作');
|
|
|
}
|
|
|
Yii::$app->redis->executeCommand('SETEX', [$cacheKey, 5, 'has']);
|
|
|
|