作者 王智

修改

... ... @@ -96,9 +96,10 @@ class Index extends Api
{
$UserId = $this->IsToken($this->request->header());
$params = $this->request->param();
var_dump(htmlspecialchars($params['Battery']));
dump(htmlspecialchars($params['Battery']));
$goods=htmlspecialchars_decode($params['Battery']);
dump($goods);
die;
// $goodslist=html_entity_decode($goods);
if ($params['type'] == 1) {
$data = [
'user_id' => $UserId,
... ...