错误信息:
文件地址:app\listener\notice\Notice.php
行数:127行
代码:
$RoutineTemplateList->sendOrderPostage($orderInfo['uid'], $orderInfo->toArray(), $storeTitle, $datas, $isGive);
如下图
行数:152行
代码:
$RoutineTemplateList->sendOrderPostage($orderInfo['uid'], $orderInfo->toArray(), $storeTitle, $datas, $isGive);
文件地址:app\services\message\notice\RoutineTemplateListService.php
行数:107
代码:
public function sendOrderPostage($uid, $order, $storeTitle, array $data, int $isGive = 0)
{
if ($isGive) {//快递发货
return $this->sendTemplate('ORDER_DELIVER_SUCCESS', $uid, [
'character_string2' => $data['delivery_id'] ?? '',
'thing1' => $data['delivery_name'] ?? '',
'time3' => date('Y-m-d H:i:s', time()),
'thing5' => $storeTitle,
], '/pages/users/order_details/index?order_id=' . $order['order_id']);
} else {//同城配送
return $this->sendTemplate('ORDER_POSTAGE_SUCCESS', $uid, [
'thing8' => $storeTitle,
'character_string1' => $order['order_id'],
'name4' => $data['delivery_name'] ?? '',
'phone_number10' => $data['delivery_id'] ?? ''
], '/pages/users/order_details/index?order_id=' . $order['order_id']);
}
}
如下图:
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}