xCss %!s(int64=7) %!d(string=hai) anos
pai
achega
e1030b06a5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      routes/weather.js

+ 1 - 1
routes/weather.js

@@ -35,7 +35,7 @@ let getWeather = (req, res, next) => {
                 message: '你的使用量过大,如需解禁请联系hi@big.moe' 
             }
         }
-        res.send(output)
+        cb && res.jsonp(output) || res.send(output);
         return
     }
     if(_params['city']){