Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API:附近潛店改成座標查詢 #64

Open
anntsai2356 opened this issue Aug 22, 2019 · 3 comments
Open

API:附近潛店改成座標查詢 #64

anntsai2356 opened this issue Aug 22, 2019 · 3 comments
Assignees
Labels
Milestone

Comments

@anntsai2356
Copy link
Contributor

附近潛店改成利用經緯度座標查詢

@anntsai2356 anntsai2356 added this to the sprint 6 milestone Aug 22, 2019
@lukechu1997 lukechu1997 self-assigned this Aug 22, 2019
lukechu1997 added a commit that referenced this issue Sep 2, 2019
@lukechu1997
Copy link
Contributor

lukechu1997 commented Sep 2, 2019

@anntsai2356 @yinmin8610
radius search is done
GET: https://b90a3314.ngrok.io/api/spot/{id}
return JSON with shop name, id, and distance
close this issue when this function is tested, thx.

@anntsai2356
Copy link
Contributor Author

@lukechu1997
Could u update the URL ?
It can't work now. TT

@anntsai2356
Copy link
Contributor Author

已測試,可以出現結果,但程式碼的正確性待驗證。

What "r" means in the code below ?
AND '.$long.' + '.$radius.'/(69 * COS(RADIANS('.$lat.'))))r

We should ask BlueT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants