Commit f5ad2f39 authored by hangjun83's avatar hangjun83

openapi

parent dce600fd
<?php
/*
* This file is part of the Jiannei/lumen-api-starter.
*
* (c) Jiannei <longjian.huang@foxmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace App\Services;
use Illuminate\Support\Facades\DB;
......@@ -118,7 +109,7 @@ class BhProductsService
}
/**
* 保存bide平台的产品数据
* 保存bjs平台的产品数据
*/
public function storeBjsProducts($bideProducts)
{
......@@ -179,7 +170,7 @@ class BhProductsService
}
$pro_data['p_level'] = $product['Purity'];
$pro_data['p_pack'] = $product['PackSize'];
$pro_data['p_price'] = $product['PriceB'];
$pro_data['p_price'] = $product['Price'];
$pro_data['p_tod'] = $p_tod;
$pro_data['p_weight'] = '0.01';
$pro_data['p_status'] = 1;
......@@ -195,7 +186,7 @@ class BhProductsService
$pro_data['p_status'] = 1;
$pro_data['p_show'] = 1;
$pro_data['p_price'] = $product['PriceB'];
$pro_data['p_price'] = $product['Price'];
$pro_data['p_tod'] = $p_tod;
$pro_data['modifytime'] = time();
$dbConnect->table('products')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment