| | |
| | | public interface TokenService { |
| | | /** |
| | | * 小程序用户登录 |
| | | * |
| | | * |
| | | * @param openId |
| | | * 小程序唯一标识 |
| | | * @return 登录结果 |
| | |
| | | |
| | | /** |
| | | * 用户登出 |
| | | * |
| | | * |
| | | * @param token |
| | | * 登录用户token |
| | | * @return 登出结果 |
| | |
| | | |
| | | /** |
| | | * 社区后台登录 |
| | | * |
| | | * |
| | | * @param account |
| | | * 账户 |
| | | * @param password |
| | |
| | | |
| | | /** |
| | | * 小程序后台登录 |
| | | * |
| | | * |
| | | * @param account |
| | | * 账户 |
| | | * @param password |
| | |
| | | |
| | | /** |
| | | * 认证中心刷新token |
| | | * |
| | | * |
| | | * @param refreshToken |
| | | * 用户端保存的刷新token |
| | | * @return 新的token 和刷新token |
| | |
| | | |
| | | /** |
| | | * 商家后台登录 |
| | | * |
| | | * |
| | | * @param account |
| | | * 账户 |
| | | * @param password |
| | |
| | | |
| | | /** |
| | | * 网格综治APP登录 |
| | | * |
| | | * |
| | | * @param account |
| | | * 账户 |
| | | * @param password |
| | |
| | | |
| | | /** |
| | | * 网格综治后台登录 |
| | | * |
| | | * |
| | | * @param account |
| | | * 账户 |
| | | * @param password |
| | |
| | | */ |
| | | @PostMapping("/loginMcsUser") |
| | | R loginMcsUser(@RequestParam("account") String account, @RequestParam("password") String password); |
| | | |
| | | /** |
| | | * 电动车商城后台用户登录 |
| | | * |
| | | * @param account |
| | | * 账户 |
| | | * @param password |
| | | * 密码 |
| | | * @return 登录结果 |
| | | */ |
| | | @PostMapping("/loginBatteryUser") |
| | | R loginBatteryUser(@RequestParam("account") String account, @RequestParam("password") String password); |
| | | } |