Merge pull request '添加采购产品报价支付类型字段' (#260) from dev into main
Reviewed-on: #260
This commit is contained in:
commit
2114d09556
@ -107,6 +107,8 @@ class PurchaseProductOfferLogic extends BaseLogic
|
||||
'price' => $params['purchase'],
|
||||
'outbound_price' => $params['outbound_price'],
|
||||
'total_price' => $params['total_price'],
|
||||
'pay_type' => $params['pay_type']??0,
|
||||
'buyer_confirm' => 1,
|
||||
]);
|
||||
// $find=BeforehandOrderCartInfo::where(['bhoid'=>$params['bhoid'],'product_id'=>$offer['product_id']])->find();
|
||||
// if($find){
|
||||
|
@ -41,6 +41,7 @@ class PurchaseProductOfferController extends BaseApiController
|
||||
'outbound_price'=>$params['outbound_price'],
|
||||
'total_price'=>$params['total_price'],
|
||||
'buyer_confirm'=>1,
|
||||
'pay_type'=>$params['pay_type']??0,
|
||||
];
|
||||
$res=PurchaseProductOffer::where('id',$params['id'])->where('buyer_id',$this->userId)->update($data);
|
||||
if($res){
|
||||
|
Loading…
x
Reference in New Issue
Block a user