|
@@ -1173,7 +1173,7 @@ class Sale extends Base
|
|
|
"is_stock"=>$good['is_stock'],
|
|
|
"is_activity"=>0,
|
|
|
"proof_id"=>0,
|
|
|
- "order_type"=>$good['is_stock']==1?2:4,
|
|
|
+ "order_type"=>2,
|
|
|
"addtime"=>date("Y-m-d H:i:s"),
|
|
|
"updatetime"=>date("Y-m-d H:i:s"),
|
|
|
'total_price'=>round($sale_price*$data['good_num'],2),
|