redis
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
package com.czg.service;
|
||||
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
*/
|
||||
public interface AuthorizationService {
|
||||
Object getCaptcha();
|
||||
|
||||
Object login(com.czg.dto.SysLoginDTO loginDTO);
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.czg.dto;
|
||||
package com.czg.service.account.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.czg.dto.shopuser;
|
||||
package com.czg.service.account.dto.shopuser;
|
||||
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.czg.feign;
|
||||
package com.czg.service.account.feign;
|
||||
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
@@ -9,6 +9,6 @@ import org.springframework.web.bind.annotation.PathVariable;
|
||||
*/
|
||||
@FeignClient("system-server")
|
||||
public interface FeignSystemService {
|
||||
@GetMapping("/feign/testCall/{name}") // 使用 get 方式,调用服务提供者的 /call/{name} 接口
|
||||
@GetMapping("/admin/feign/testCall/{name}") // 使用 get 方式,调用服务提供者的 /call/{name} 接口
|
||||
String testCall(@PathVariable(value = "name") String name);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.czg.service.account.service;
|
||||
|
||||
|
||||
import com.czg.service.account.dto.SysLoginDTO;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
*/
|
||||
public interface AuthorizationService {
|
||||
Object getCaptcha();
|
||||
|
||||
Object login(SysLoginDTO loginDTO);
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.czg.service;
|
||||
package com.czg.service.account.service;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
@@ -1,9 +1,9 @@
|
||||
package com.czg.service.impl;
|
||||
package com.czg.service.account.service.impl;
|
||||
|
||||
import cn.hutool.core.util.IdUtil;
|
||||
import com.czg.dto.SysLoginDTO;
|
||||
import com.czg.service.account.dto.SysLoginDTO;
|
||||
import com.czg.sa.StpKit;
|
||||
import com.czg.service.AuthorizationService;
|
||||
import com.czg.service.account.service.AuthorizationService;
|
||||
import com.wf.captcha.SpecCaptcha;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.czg.service.impl;
|
||||
package com.czg.service.account.service.impl;
|
||||
|
||||
import com.czg.service.ShopInfoService;
|
||||
import com.czg.service.account.service.ShopInfoService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
Reference in New Issue
Block a user