作者 李宇航

合并分支 'master-server' 到 'master'

gx测试脚本



查看合并请求 !943
... ... @@ -61,7 +61,7 @@ DSE1504F,Super fast Recovery Rectifier,ITO-220AC,400,15,Single Positive,150,1.4,
$array = explode("\n", $data);
foreach ($array as $values){
$array1 = explode(',',$values);
$data = [
$contentData = [
'name'=>$array1[0],
'route'=>'',
'project_id'=>2837,
... ... @@ -69,7 +69,7 @@ DSE1504F,Super fast Recovery Rectifier,ITO-220AC,400,15,Single Positive,150,1.4,
'module_id'=>2,
];
$customModuleContentModel = new CustomModuleContent();
$contentId = $customModuleContentModel->addReturnId($data);
$contentId = $customModuleContentModel->addReturnId($contentData);
$route = RouteMap::setRoute($data['route'],RouteMap::SOURCE_MODULE,$contentId,2837);
$customModuleContentModel->edit(['route'=>$route],['id'=>$contentId]);
$pd_extended_field_arr = [
... ...