|
|
@@ -289,6 +289,7 @@ class StoreProduct extends BaseModel
|
|
|
return $isSingle ? $list : 0;
|
|
|
//当$list为数组时$isSingle==true为一维数组 ,否则为二维
|
|
|
if ($isSingle){
|
|
|
+ @file_put_contents('quanju.txt', json_encode($list)."-4\r\n", 8);
|
|
|
$list['vip_price'] = isset($list['price']) ? bcsub($list['price'], bcmul($discount, $list['price'], 2), 2) : 0;
|
|
|
}
|
|
|
// if ($list['is_Inclusive']==0&&$list['is_points']==0&&$list['is_explosive']==0){
|