shish 6 lat temu
rodzic
commit
c3efc9d7e1
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      app/business/controllers/TestController.php

+ 5 - 1
app/business/controllers/TestController.php

@@ -3,7 +3,9 @@
 namespace business\controllers;
 
 use biz\merchant\services\MerchantService;
+use biz\message\classes\InformAdminClass;
 use biz\message\services\InformAdminService;
+use biz\order\services\OrderService;
 use common\components\wxUtil;
 use Yii;
 use common\components\util;
@@ -91,7 +93,9 @@ class TestController extends BaseController
 	//宝贝售出提醒 shish 2020.1.30
 	public function actionInform()
 	{
-		InformAdminService::addInform(12362, 'send', []);
+		$merchant = MerchantService::getMerchantById(12359);
+		$order = OrderService::getById(214731);
+		InformAdminClass::sendComplete($order, $merchant);
 	}
 
 	public function actionNotice()