|
@@ -15,11 +15,13 @@ use think\console\input\Option;
|
|
|
use think\console\Output;
|
|
|
use think\Exception;
|
|
|
use think\facade\Cache;
|
|
|
+use think\facade\Config;
|
|
|
use think\facade\Db;
|
|
|
|
|
|
//C端订单导入-处理
|
|
|
class ImportOrderFromCHandleData extends Command
|
|
|
{
|
|
|
+
|
|
|
protected function configure()
|
|
|
{
|
|
|
// 指令配置
|
|
@@ -201,6 +203,7 @@ class ImportOrderFromCHandleData extends Command
|
|
|
'gold_price' => $ct['cgd_gold_price'],
|
|
|
'good_createrid' => $goodinfo['createrid'],
|
|
|
'good_creater' => $goodinfo['creater'],//商品创建人
|
|
|
+ "weight"=>$ct['noble_weight']
|
|
|
];
|
|
|
|
|
|
$send_num = $extend_data['num'];
|
|
@@ -501,7 +504,7 @@ class ImportOrderFromCHandleData extends Command
|
|
|
"demo_fee" => $data['demo_fee'],
|
|
|
"nake_fee" => $data['nake_fee'],
|
|
|
"delivery_fee" => $data['delivery_fee'],
|
|
|
- #"weight"=>$data['weight'],
|
|
|
+ "weight"=>$data['weight'],
|
|
|
"diff_weight" => "0",
|
|
|
"diff_fee" => "0",
|
|
|
"gold_price" => $data['gold_price'],
|