作者 王智

修改

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