|
|
version: v1
|
|
|
kind: HttpApi
|
|
|
metadata:
|
|
|
service: loginAccess
|
|
|
path: /auth
|
|
|
endpoints:
|
|
|
- method: loginByAccount
|
|
|
route:
|
|
|
post: /by-account
|
|
|
- method: loginBySmsCode
|
|
|
route:
|
|
|
post: /by-smscode
|
|
|
- method: loginByScanQrcode
|
|
|
route:
|
|
|
get: /by-qrcode
|
|
|
- method: getQrcodeForLogin
|
|
|
route:
|
|
|
get: /get-qrcode
|
|
|
- method: loginInfoByAuthCode
|
|
|
route:
|
|
|
get: /profile |
...
|
...
|
|