shish 6 rokov pred
rodič
commit
09a5f1f2b0

+ 3 - 2
app/saas/controllers/TestController.php

@@ -71,7 +71,7 @@ class TestController extends PublicController
 		echo json_encode($resp);
 		
 	}
-
+	
 	public function actionRabbit()
 	{
 		$orderId = 214752;
@@ -80,7 +80,8 @@ class TestController extends PublicController
 		$merchant = MerchantService::getMerchantById($merchantId);
 		$params = ['sourceType' => $order['sourceType'], 'miniAppId' => $merchant['miniAppId'], 'orderId' => $orderId];
 		$type = 'income';
+		$shopId = $merchant['defaultShopId'];
 		InformAdminService::addInform($merchantId, $shopId, $type, $params);
 	}
-
+	
 }

+ 1 - 1
biz/message/services/InformAdminService.php

@@ -35,7 +35,7 @@ class InformAdminService extends BaseService
 			InformAdminClass::addInform($params, $adminShop, $type, $TMList);
 		}
 	}
-	
+
 	//消费通知内容 shish 2020.1.1
 	//['messageType'=>'inform','informWay'=>'miniProgram','userType'=>'admin','adminShopId'=>913,'mobile'=>'15280215347','tMessage'=>'','content'=>'','briefContent'=>'']
 	public static function consumeInformQueue($data)