1,'uid'=>$order['uid']]) || UserAddress::setDefaultAddress($group['addressId'],$order['uid']); } public static function storeProductOrderApplyRefundWap($oid, $uid) { $order = StoreOrder::where('id',$oid)->find(); WechatTemplateService::sendAdminNoticeTemplate([ 'first'=>"亲,您有一个订单申请退款 \n订单号:{$order['order_id']}", 'keyword1'=>'申请退款', 'keyword2'=>'待处理', 'keyword3'=>date('Y/m/d H:i',time()), 'remark'=>'请及时处理' ]); } /** * 评价商品 * @param $replyInfo * @param $cartInfo * @return StoreOrder|\think\Model */ public static function storeProductOrderReplyWap($replyInfo, $cartInfo) { return StoreOrder::checkOrderOver($cartInfo['oid']); } }