Commit 42722c7a authored by wanjilong's avatar wanjilong

add: 1.pingxx退单增加订单Id,2:临时关闭接龙支付成功消息

parent 3e53d3b7
......@@ -265,20 +265,24 @@ class PayService
$title = '';
}
try{
//通知消息
$app_id = 'wx65e9ba99c333444f';
$template_id = 'EzOH2ZpfW-eUdFf9gzjZTAv-Z9PFmKHNsQ0VOGvvN7c';
$page_url = 'https://testwx.appgc.cn/%23/bpmp/ticket/my';
$page_url = \Yaf\Application::app()->getConfig()->get('wxApp.jw.order');
$type = 1;
$param = [
$query = [
$title,
$pay_order['order_id'],
round($pay_order['pay_amount'] / 100, 2),
date('Y-m-d'),
];
Msg::send($pay_order['user_id'], $app_id, $template_id, $page_url, $type, $param);
if(isset($ret['result']['order_info']['business_from']) && $ret['result']['order_info']['business_from'] != 2) {
//接龙业务不发送消息
Msg::send($pay_order['user_id'], $app_id, $template_id, $page_url, $type, $query);
}
}catch (\Throwable $e) {
;
......
......@@ -67,6 +67,7 @@ class RefundService
'environ'=>Application::app()->environ(),
'refund_order_id'=>$data['refund_order']['refund_order_id'],
'order_item_id'=>$data['order_item_id'],
'order_id'=>$order_id,
],
];
......
......@@ -39,12 +39,14 @@ dingTalk.keys[]="SEC0298ad3f80e16df12cd4d6f6c39e961b500e2ff486f4c4377c0e2af8f453
[prod : common : exception : dingTalk]
pingxx.appid = "app_9m1ubDG4e1mPXLCG"
wxApp.jw.order = "https://wx.appgc.cn/%23/bpmp/ticket/my"
[pref : common : exception : dingTalk]
pingxx.appid = "app_9m1ubDG4e1mPXLCG"
[test : common : exception : dingTalk]
pingxx.appid = "app_W10Oe5XrvbzHfP4W"
wxApp.jw.order = "https://testwx.appgc.cn/%23/bpmp/ticket/my"
[dev : common : exception]
pingxx.appid = "app_W10Oe5XrvbzHfP4W"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment