作者 lyh

gx脚本更新路由

@@ -108,7 +108,7 @@ class UpdateBuildConfiguration extends Command @@ -108,7 +108,7 @@ class UpdateBuildConfiguration extends Command
108 'text_type'=>1, 108 'text_type'=>1,
109 'title'=>$v['describe'][0]['title'] ?? '', 109 'title'=>$v['describe'][0]['title'] ?? '',
110 'sort'=>1, 110 'sort'=>1,
111 - 'content'=>json_encode(['content'=>$v['describe'][0]['text'] ?? ''],true), 111 + 'content'=>json_encode(['content'=>$v['describe'][0]['text'] ?? ''],JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES),
112 'created_at'=>date('Y-m-d H:i:s'), 112 'created_at'=>date('Y-m-d H:i:s'),
113 'updated_at'=>date('Y-m-d H:i:s') 113 'updated_at'=>date('Y-m-d H:i:s')
114 ]; 114 ];