正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
@@ -96,9 +96,10 @@ class Index extends Api | @@ -96,9 +96,10 @@ class Index extends Api | ||
96 | { | 96 | { |
97 | $UserId = $this->IsToken($this->request->header()); | 97 | $UserId = $this->IsToken($this->request->header()); |
98 | $params = $this->request->param(); | 98 | $params = $this->request->param(); |
99 | - var_dump(htmlspecialchars($params['Battery'])); | ||
100 | - dump(htmlspecialchars($params['Battery'])); | 99 | + $goods=htmlspecialchars_decode($params['Battery']); |
100 | + dump($goods); | ||
101 | die; | 101 | die; |
102 | +// $goodslist=html_entity_decode($goods); | ||
102 | if ($params['type'] == 1) { | 103 | if ($params['type'] == 1) { |
103 | $data = [ | 104 | $data = [ |
104 | 'user_id' => $UserId, | 105 | 'user_id' => $UserId, |
-
请 注册 或 登录 后发表评论