|
|
@@ -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()
|