lidongdong
2024-04-01 cdca957e4835e359a89fe4c7c9833ab0c78ee4e3
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/auth/TokenService.java
@@ -1,8 +1,10 @@
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;
@@ -68,6 +70,11 @@
     */
    @PostMapping("/refreshToken")
    R refreshToken(@RequestParam("refreshToken") String refreshToken);
    @PostMapping("/getNewToken")
    public R getNewToken(@RequestBody LoginUserInfoVO loginUserInfoVO);
    /**
     * 商家后台登录
@@ -175,5 +182,5 @@
     * @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);
}