...
|
...
|
@@ -103,7 +103,7 @@ class Index extends Api |
|
|
//$token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IjE5OTY5MTA2NzEwIiwicGFzc3dvcmQiOiJhMGUxNWM0NDRmOGNiY2NiNTAwM2U1MDk5OGI2OGZhNyIsImV4cCI6MTczMTY2ODA5MSwiaXNzIjoidWltcyJ9.W3RBwrFdidL9ERykKC_gHtjp911xrkNvUKglSes1w7c";
|
|
|
$data=['wid'=>$id];
|
|
|
$WaterCenInfourlres =HttpHelper::postheader($WaterCenInfourl,$data,"",$token);
|
|
|
$WaterCenInfourlres=json_decode($res,true);
|
|
|
$WaterCenInfourlres=json_decode($WaterCenInfourlres,true);
|
|
|
$res['data']['dayPct']=$WaterCenInfourlres['dayPct'];
|
|
|
$res['data']['total']=$WaterCenInfourlres['total'];
|
|
|
}
|
...
|
...
|
|