正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -61,8 +61,8 @@ class DetailLogic extends BaseLogic | @@ -61,8 +61,8 @@ class DetailLogic extends BaseLogic | ||
| 61 | 'product_id'=>$this->param['product_id'], | 61 | 'product_id'=>$this->param['product_id'], |
| 62 | 'text_type'=>$v['text_type'], | 62 | 'text_type'=>$v['text_type'], |
| 63 | 'title'=>$v['title'] ?? '', | 63 | 'title'=>$v['title'] ?? '', |
| 64 | - 'content'=>json_encode($v['content'] ?? []), | ||
| 65 | - 'css'=>json_encode($v['css'] ?? []), | 64 | + 'content'=>json_encode($v['content'] ?? [],JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES), |
| 65 | + 'css'=>json_encode($v['css'] ?? [],JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES), | ||
| 66 | ]; | 66 | ]; |
| 67 | if(isset($v['id']) && !empty($v['id'])){ | 67 | if(isset($v['id']) && !empty($v['id'])){ |
| 68 | $this->edit($save_data,['id'=>$v['id']]); | 68 | $this->edit($save_data,['id'=>$v['id']]); |
-
请 注册 或 登录 后发表评论