diff --git a/application/admin/view/default/answer/index.html b/application/admin/view/default/answer/index.html
index f75339c97..a11db88c7 100755
--- a/application/admin/view/default/answer/index.html
+++ b/application/admin/view/default/answer/index.html
@@ -217,7 +217,7 @@
编辑
{{if $v['is_reply'] eq 0}}
-
+
{{/if}}
|
diff --git a/application/admin/view/default/orderaftersale/index.html b/application/admin/view/default/orderaftersale/index.html
index c6789aaa2..5d8bbd8d4 100644
--- a/application/admin/view/default/orderaftersale/index.html
+++ b/application/admin/view/default/orderaftersale/index.html
@@ -279,10 +279,10 @@
{{/if}}
{{if $v['status'] eq 2}}
-
+
{{/if}}
{{if in_array($v['status'], [0,2])}}
-
+
{{/if}}
{{if in_array($v['status'], [1,2])}}
diff --git a/application/service/AnswerService.php b/application/service/AnswerService.php
index 9d9b67e12..ed2704b55 100755
--- a/application/service/AnswerService.php
+++ b/application/service/AnswerService.php
@@ -228,11 +228,11 @@ class AnswerService
// 开始操作
$data = [
'user_id' => isset($params['user']['id']) ? intval($params['user']['id']) : (isset($params['user_id']) ? intval($params['user_id']) : 0),
- 'name' => isset($params['name']) ? str_replace(['"', "'"], '', strip_tags($params['name'])) : '',
- 'tel' => isset($params['tel']) ? str_replace(['"', "'"], '', strip_tags($params['tel'])) : '',
- 'title' => isset($params['title']) ? str_replace(['"', "'"], '', strip_tags($params['title'])) : '',
- 'content' => str_replace(['"', "'"], '', strip_tags($params['content'])),
- 'reply' => isset($params['reply']) ? str_replace(['"', "'"], '', strip_tags($params['reply'])) : '',
+ 'name' => isset($params['name']) ? $params['name'] : '',
+ 'tel' => isset($params['tel']) ? $params['tel'] : '',
+ 'title' => isset($params['title']) ? $params['title'] : '',
+ 'content' => $params['content'],
+ 'reply' => isset($params['reply']) ? $params['reply'] : '',
'access_count' => isset($params['access_count']) ? intval($params['access_count']) : 0,
'is_reply' => isset($params['is_reply']) ? intval($params['is_reply']) : 0,
'is_show' => isset($params['is_show']) ? intval($params['is_show']) : 0,