1.本地生活下单新增2个参数
This commit is contained in:
parent
fcc56d30fd
commit
58de16a032
@ -231,6 +231,13 @@ class LocalStoreLogic extends Logic
|
||||
$data['goods_total_price'] = round($goods_msg['price']*$post['goods_num'],2);
|
||||
|
||||
}
|
||||
if(isset($post['post_station_id'])){
|
||||
$data['post_station_id'] = $post['post_station_id'];
|
||||
}
|
||||
if(isset($post['post_station_time'])){
|
||||
$timestamp = strtotime($post['post_station_time']);
|
||||
$data['post_station_time'] = $timestamp;
|
||||
}
|
||||
$data['order_no'] = createSn('local_goods_order', 'order_no');
|
||||
$data['lstore_id'] = $post['lstore_id'];
|
||||
$data['item_id'] = $post['item_id'];
|
||||
|
||||
@ -683,6 +683,7 @@ class PayLogic extends Logic
|
||||
if(isset($post['goods_num'])){
|
||||
$data['goods_num'] = $post['goods_num'];
|
||||
}
|
||||
|
||||
$data['order_sn'] = $out_trade_no;
|
||||
$data['order_source'] = 1;
|
||||
$data['pay_way'] = 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user