1.本地生活支付添加备注
This commit is contained in:
parent
07d0888f23
commit
8fa608ec6d
@ -668,15 +668,21 @@ class PayLogic extends Logic
|
||||
if ((is_object($res) || is_string($res)) && $client != Client_::pc) {
|
||||
$res = (array)($res);
|
||||
}
|
||||
$sku_num_msg = Db::name("local_store_goods_item")
|
||||
->where("id",$post['spec_item_id'])
|
||||
->find();
|
||||
$data['lsg_order_id'] = $post['lsg_order_id'];
|
||||
$data['sku_id'] = $post['spec_item_id'];
|
||||
if($sku_num_msg!=null){
|
||||
$data['goods_id'] = $sku_num_msg['goods_id'];
|
||||
if(isset($post['spec_item_id'])){
|
||||
$sku_num_msg = Db::name("local_store_goods_item")
|
||||
->where("id",$post['spec_item_id'])
|
||||
->find();
|
||||
if($sku_num_msg!=null){
|
||||
$data['goods_id'] = $sku_num_msg['goods_id'];
|
||||
}
|
||||
$data['sku_id'] = $post['spec_item_id'];
|
||||
}
|
||||
if(isset($post['lsg_order_id'])){
|
||||
$data['lsg_order_id'] = $post['lsg_order_id'];
|
||||
}
|
||||
if(isset($post['goods_num'])){
|
||||
$data['goods_num'] = $post['goods_num'];
|
||||
}
|
||||
$data['goods_num'] = $post['goods_num'];
|
||||
$data['order_no'] = $out_trade_no;
|
||||
$data['order_source'] = 1;
|
||||
$data['pay_way'] = 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user