|
|
@@ -44,6 +44,10 @@ class NoticeClass extends BaseClass
|
|
|
$name = "花材" . $num;
|
|
|
$actPrice = $cg->actPrice ?? 0;
|
|
|
$payTime = $cg->payTime ?? '';
|
|
|
+ $remark = "点击查看详情";
|
|
|
+ if(isset($cg->debt) && $cg->debt == 1){
|
|
|
+ $remark = "【此单赊账】【点击可付款】";
|
|
|
+ }
|
|
|
if (!empty($staffList)) {
|
|
|
$ids = array_column($staffList, 'adminId');
|
|
|
if (!empty($ids)) {
|
|
|
@@ -57,7 +61,7 @@ class NoticeClass extends BaseClass
|
|
|
"thing2" => ["value" => $name],
|
|
|
"amount3" => ["value" => $actPrice],
|
|
|
"date4" => ["value" => $payTime],
|
|
|
- "thing5" => ["value" => "点击查看详情"]
|
|
|
+ "thing5" => ["value" => $remark]
|
|
|
];
|
|
|
$page = 'pagesPurchase/purDetails?id=' . $cg->id;
|
|
|
$respond = miniUtil::commonSendSubscribeMessage($merchant, $ptStyle, $msgId, $miniOpenId, $page, $msg);
|