This commit is contained in:
GYJ
2025-02-08 18:26:36 +08:00
parent 0204f427cc
commit d99b538fd0
27 changed files with 769 additions and 31 deletions

View File

@@ -1,11 +0,0 @@
package com.czg.service;
/**
* @author Administrator
*/
public interface AuthorizationService {
Object getCaptcha();
Object login(com.czg.dto.SysLoginDTO loginDTO);
}

View File

@@ -1,4 +1,4 @@
package com.czg.dto;
package com.czg.service.account.dto;
import jakarta.validation.constraints.NotEmpty;

View File

@@ -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;

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -1,4 +1,4 @@
package com.czg.service;
package com.czg.service.account.service;
/**
* @author Administrator

View File

@@ -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;

View File

@@ -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;
/**