mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 13:05:10 +00:00
Update weather.js
This commit is contained in:
@@ -11,7 +11,7 @@ $request(weaapi, function(error, response, data){
|
||||
var wea = "天气状况: " + obj.wea + " 当前" + obj.tem + "℃ " + obj.tem2 + "℃~" + obj.tem1 + "℃";
|
||||
var air = "当前风力: " + obj.win + obj.win_speed + " 风速" + obj.win_meter + "\n空气指数: " + obj.air + " " + obj.air_level + "\n友情提示: " + obj.air_tips + "\n更新时间: " + obj.date + " "+ obj.update_time;
|
||||
let wmation = [city,wea,air];
|
||||
$notify(wmation[0], wmation[1], wmation[2]);
|
||||
$notify("Weather Condition:", wmation[0]+ wmation[1]+ wmation[2]);
|
||||
$done();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user