|
|
@@ -16,10 +16,10 @@ class MqController extends Controller
|
|
|
//预订变化下架花材 ssh 20240729
|
|
|
public function actionBookChangeOutStock()
|
|
|
{
|
|
|
- $noticeKey = "bookChangeOffItem";
|
|
|
- while ($count = Yii::$app->redis->executeCommand('LLEN', [$noticeKey])) {
|
|
|
- $json = Yii::$app->redis->executeCommand('RPOP', [$noticeKey]);
|
|
|
- echo $json;die;
|
|
|
+// $noticeKey = "bookChangeOffItem";
|
|
|
+// while ($count = Yii::$app->redis->executeCommand('LLEN', [$noticeKey])) {
|
|
|
+// $json = Yii::$app->redis->executeCommand('RPOP', [$noticeKey]);
|
|
|
+ $json = '{"id":163,"num":"1","shopId":36523}';
|
|
|
if (!empty($json)) {
|
|
|
$arr = json_decode($json, true);
|
|
|
$id = $arr['id'] ?? 0;
|
|
|
@@ -31,7 +31,7 @@ class MqController extends Controller
|
|
|
WxMessageClass::bookChangeOutStockInform($shop, $res, $num);
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
//花店采购通知供货商 ssh 20230805
|