在selectJdOrder
发完货之后 通知 和 快递查询,都很正常
修改物流表
判断是不是京东物流信息
if ($express=='VOP'){ include_once EWEI_SHOPV2_PATH . 'jdvop/order/controller/Express.php'; $res = new \jdvop_order\Express(); $resarr = $res->getExpress($expresssn); if (is_array($resarr)){ $info['data']=array_reverse($resarr); }else{ $time=date('Y-m-d h:i:s '); $info['data'][0]=['time'=>$time, 'context'=>'未查询到物流信息,请稍后重试 (20001)']; }; }
send.html页面增加vop商品提示判断
{if !empty($vopGoodsMsg)} <div class="form-group " style="color:#FF5722 ">                                                  此订单含有VOP商品,若还有其他商品,请务必选择分包发货</div> <div class="form-group"> <label class="col-sm-2 control-label ">快递名称</label> <div class="col-sm-3 col-xs-12"> <input type="text" name="vopname" class="form-control" value="京东vop快递" /> </div> <label class="col-sm-2 control-label ">快递单号</label> <div class="col-sm-5 col-xs-12"> <input type="text" name="generalExpresssn" class="form-control" value="{$vopGoodsMsg}" /> </div> </div> {/if}
来源:博客园
作者:飘柔2019
链接:https://www.cnblogs.com/tongcharge/p/11556965.html