当我尝试使用多种类型(如查询)实现 URL无效时 的 department_store | grocery_or_supermarket
SELECT User, MIN(Punchtime) as InTime, IF((MAX(Punchtime) - MIN(Punchtime)) >= 3, MAX(Punchtime), NULL) as OutTime, DatePunch
FROM Punchtime
GROUP BY DatePunch
虽然单一类型
工作正常let query = "https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=28.965198333333333,77.98569833333333&radius=3218&type=department_store|grocery_or_supermarket&key=API_KEY"
guard let url = URL(string: query) else { return completion(.Failure("URL invalid")) }
请提供建议,如何在 Nearbysearch 网络服务中使用多种类型。
提前致谢。