|
@@ -3,6 +3,7 @@
|
|
|
namespace biz\message\classes;
|
|
namespace biz\message\classes;
|
|
|
|
|
|
|
|
use biz\admin\classes\AdminClass;
|
|
use biz\admin\classes\AdminClass;
|
|
|
|
|
+use biz\admin\services\AdminShopService;
|
|
|
use biz\user\classes\UserClass;
|
|
use biz\user\classes\UserClass;
|
|
|
use common\components\httpUtil;
|
|
use common\components\httpUtil;
|
|
|
use common\components\wxUtil;
|
|
use common\components\wxUtil;
|
|
@@ -139,13 +140,14 @@ class InformAdminClass extends BaseClass
|
|
|
{
|
|
{
|
|
|
self::add($data);
|
|
self::add($data);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
//订单完成通知店长 shish 2020.3.19
|
|
//订单完成通知店长 shish 2020.3.19
|
|
|
public static function sendComplete($order, $merchant)
|
|
public static function sendComplete($order, $merchant)
|
|
|
{
|
|
{
|
|
|
$merchantId = $merchant['id'];
|
|
$merchantId = $merchant['id'];
|
|
|
$orderId = $order['id'];
|
|
$orderId = $order['id'];
|
|
|
- $adminList = AdminClass::getRemindAdmin($merchantId);
|
|
|
|
|
|
|
+ $shopId = $order['shopId'];
|
|
|
|
|
+ $adminList = AdminShopService::getNoticeAdminList($shopId);
|
|
|
$tm = xhTMessageService::getList($merchantId);
|
|
$tm = xhTMessageService::getList($merchantId);
|
|
|
$shortTempId = 'OPENTM201205968';//订单送达通知
|
|
$shortTempId = 'OPENTM201205968';//订单送达通知
|
|
|
$tempId = $tm[$shortTempId];
|
|
$tempId = $tm[$shortTempId];
|