|
...
|
...
|
@@ -90,6 +90,9 @@ class UpdateBuildConfiguration extends Command |
|
|
|
if(empty($v['describe'])){
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
if(empty($v['describe'][0]['text'])){
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
if(isset($v['describe'][0]['title']) && ($v['describe'][0]['title'] == null)){
|
|
|
|
$v['describe'][0]['title'] = '';
|
|
|
|
}
|
|
...
|
...
|
@@ -105,7 +108,7 @@ class UpdateBuildConfiguration extends Command |
|
|
|
'text_type'=>1,
|
|
|
|
'title'=>'',
|
|
|
|
'sort'=>1,
|
|
|
|
'content'=>json_encode(['content'=>$v['describe'][0]['text'],'title'=>$v['describe'][0]['title'] ?? ''],true),
|
|
|
|
'content'=>json_encode(['content'=>$v['describe'][0]['text'] ?? '','title'=>$v['describe'][0]['title'] ?? ''],true),
|
|
|
|
'created_at'=>date('Y-m-d H:i:s'),
|
|
|
|
'updated_at'=>date('Y-m-d H:i:s')
|
|
|
|
];
|
...
|
...
|
|