| | |
| | | package com.panzhihua.common.service.auth; |
| | | |
| | | import com.panzhihua.common.model.vos.LoginReturnVO; |
| | | import com.panzhihua.common.model.vos.LoginUserInfoVO; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import com.panzhihua.common.model.vos.R; |
| | |
| | | */ |
| | | @PostMapping("/refreshToken") |
| | | R refreshToken(@RequestParam("refreshToken") String refreshToken); |
| | | |
| | | |
| | | |
| | | @PostMapping("/getNewToken") |
| | | public R getNewToken(@RequestBody LoginUserInfoVO loginUserInfoVO); |
| | | |
| | | /** |
| | | * 商家后台登录 |
| | |
| | | */ |
| | | @PostMapping("/loginMcsUser") |
| | | R loginMcsUser(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid); |
| | | |
| | | /** |
| | | * 天府通办登录 |
| | | * @param account |
| | | * @param password |
| | | * @param appid |
| | | * @return |
| | | */ |
| | | @GetMapping("/tfLogin") |
| | | R tfLogin(@RequestParam("account")String account,@RequestParam("password")String password,@RequestParam("appid")String appid); |
| | | /** |
| | | * 电动车商城后台用户登录 |
| | | * |
| | | * @param account |
| | | * 账户 |
| | | * @param password |
| | | * 密码 |
| | | * @return 登录结果 |
| | | */ |
| | | @PostMapping("/loginBatteryUser") |
| | | R loginBatteryUser(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid); |
| | | |
| | | /** |
| | | * 三个身边后台用户登录 |
| | | * @return 登录结果 |
| | | */ |
| | | @PostMapping("/loginThreeAround") |
| | | R<LoginReturnVO> loginThreeAround(@RequestParam("userId") Integer userId); |
| | | } |