|
|
@@ -3262,7 +3262,6 @@ class StoreOrderRepository extends BaseRepository
|
|
|
// $v['verify_num'] = \app\common\model\store\order\StoreCart::where('product_id',$v['product_id'])->where('cart_id',$v['cart_id'])->value('verify_num');
|
|
|
$store_name = $storeProduct->where('product_id', $v->product_id)->value('store_name');
|
|
|
// $order_sn = $storeOrder->where('order', $v->product_id)->value('order_sn');
|
|
|
- @file_put_contents('quanju.txt', json_encode($order)."-订单\r\n", 8);
|
|
|
self::verifyRecord($order->order_sn,$serviceId , $v->product_id, $num,$balance,$user_name,$store_name);
|
|
|
// ($order_id,$uid,$product_id,$num,$balance,$mark){
|
|
|
}
|
|
|
@@ -3330,7 +3329,6 @@ class StoreOrderRepository extends BaseRepository
|
|
|
|
|
|
public function verifyRecord($order_sn,$uid,$product_id,$num,$balance,$user_name,$product_name){
|
|
|
$mark = $user_name.'服务中心核销'.$product_name.'商品'.$num.'件';
|
|
|
- @file_put_contents('quanju.txt', $order_sn."-订单标号\r\n", 8);
|
|
|
VerifyRecord::create(['order_sn'=>$order_sn,'uid'=>$uid,'product_id'=>$product_id,'num'=>$num,'balance'=>$balance,'mark'=>$mark,'status'=>0,'verify_time'=>time()]);
|
|
|
return true;
|
|
|
}
|