正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -103,7 +103,7 @@ class Index extends Api | @@ -103,7 +103,7 @@ class Index extends Api | ||
103 | //$token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IjE5OTY5MTA2NzEwIiwicGFzc3dvcmQiOiJhMGUxNWM0NDRmOGNiY2NiNTAwM2U1MDk5OGI2OGZhNyIsImV4cCI6MTczMTY2ODA5MSwiaXNzIjoidWltcyJ9.W3RBwrFdidL9ERykKC_gHtjp911xrkNvUKglSes1w7c"; | 103 | //$token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IjE5OTY5MTA2NzEwIiwicGFzc3dvcmQiOiJhMGUxNWM0NDRmOGNiY2NiNTAwM2U1MDk5OGI2OGZhNyIsImV4cCI6MTczMTY2ODA5MSwiaXNzIjoidWltcyJ9.W3RBwrFdidL9ERykKC_gHtjp911xrkNvUKglSes1w7c"; |
104 | $data=['wid'=>$id]; | 104 | $data=['wid'=>$id]; |
105 | $WaterCenInfourlres =HttpHelper::postheader($WaterCenInfourl,$data,"",$token); | 105 | $WaterCenInfourlres =HttpHelper::postheader($WaterCenInfourl,$data,"",$token); |
106 | - $WaterCenInfourlres=json_decode($res,true); | 106 | + $WaterCenInfourlres=json_decode($WaterCenInfourlres,true); |
107 | $res['data']['dayPct']=$WaterCenInfourlres['dayPct']; | 107 | $res['data']['dayPct']=$WaterCenInfourlres['dayPct']; |
108 | $res['data']['total']=$WaterCenInfourlres['total']; | 108 | $res['data']['total']=$WaterCenInfourlres['total']; |
109 | } | 109 | } |
-
请 注册 或 登录 后发表评论