同意退款逻辑
This commit is contained in:
parent
ba0cae119f
commit
fd0d71a25d
@ -220,6 +220,7 @@ class OrderRefunds extends Base{
|
|||||||
WSTWxMessage(['CODE'=>'WX_ORDER_REFUND_FAIL','userId'=>$order['userId'],'URL'=>Url('wechat/orders/index','',true,true),'params'=>$params]);
|
WSTWxMessage(['CODE'=>'WX_ORDER_REFUND_FAIL','userId'=>$order['userId'],'URL'=>Url('wechat/orders/index','',true,true),'params'=>$params]);
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
Db::name('orders')->where('orderId',$object->orderId)->update(['isRefund'=>1]);
|
||||||
//判断是否需要发送管理员短信
|
//判断是否需要发送管理员短信
|
||||||
$tpl = WSTMsgTemplates('PHONE_ADMIN_REFUND_ORDER');
|
$tpl = WSTMsgTemplates('PHONE_ADMIN_REFUND_ORDER');
|
||||||
if((int)WSTConf('CONF.smsOpen')==1 && (int)WSTConf('CONF.smsRefundOrderTip')==1 && $tpl['tplContent']!='' && $tpl['status']=='1'){
|
if((int)WSTConf('CONF.smsOpen')==1 && (int)WSTConf('CONF.smsRefundOrderTip')==1 && $tpl['tplContent']!='' && $tpl['status']=='1'){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user