|
|
@@ -32,7 +32,9 @@ class NoticeClass extends BaseClass
|
|
|
}
|
|
|
$num = $clear->num ?? 0;
|
|
|
$actPrice = $clear->actPrice ?? 0;
|
|
|
- $time = date("H:i");
|
|
|
+ $ghsName = $clear->ghsName ?? '';
|
|
|
+ $ghsShopName = $clear->ghsShopName ?? '';
|
|
|
+ $name = $ghsName . ' ' . $ghsShopName;
|
|
|
if (!empty($staffList)) {
|
|
|
$ids = array_column($staffList, 'adminId');
|
|
|
if (!empty($ids)) {
|
|
|
@@ -42,9 +44,10 @@ class NoticeClass extends BaseClass
|
|
|
$miniOpenId = $admin['miniOpenId'] ?? '';
|
|
|
if (!empty($miniOpenId)) {
|
|
|
$msg = [
|
|
|
- "amount3" => ["value" => $actPrice],
|
|
|
+ "thing5" => $name,
|
|
|
"short_thing2" => ["value" => $num . "笔"],
|
|
|
- "time1" => ["value" => $time],
|
|
|
+ "amount3" => ["value" => $actPrice],
|
|
|
+ "thing4" => ["value" => "点击打开帮我结下账哦"],
|
|
|
];
|
|
|
$page = 'admin/clear/info?id=' . $clear->id;
|
|
|
$respond = miniUtil::commonSendSubscribeMessage($merchant, $ptStyle, $msgId, $miniOpenId, $page, $msg);
|