| | |
| | | package com.panzhihua.common.service.auth; |
| | | |
| | | 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); |
| | | |
| | | /** |
| | | * 商家后台登录 |
| | |
| | | * @return 登录结果 |
| | | */ |
| | | @PostMapping("/loginBatteryUser") |
| | | R loginBatteryUser(@RequestParam("account") String account, @RequestParam("password") String password); |
| | | R loginBatteryUser(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid); |
| | | } |