|
|
@@ -1,37 +1,25 @@
|
|
|
package com.zhongshu.card.server.core.controller.org;
|
|
|
|
|
|
-import com.github.microservice.auth.client.constant.AuthConstant;
|
|
|
import com.github.microservice.auth.client.model.LoginTokenModel;
|
|
|
import com.github.microservice.auth.client.model.UserTokenModel;
|
|
|
-import com.github.microservice.auth.security.annotations.ResourceAuth;
|
|
|
import com.github.microservice.auth.security.helper.AuthHelper;
|
|
|
-import com.github.microservice.auth.security.type.AuthType;
|
|
|
-import com.zhongshu.card.client.model.base.AuthTypeParam;
|
|
|
import com.zhongshu.card.client.model.base.ReTokenParam;
|
|
|
-import com.zhongshu.card.client.model.base.TokenParam;
|
|
|
import com.zhongshu.card.client.model.org.*;
|
|
|
-import com.github.microservice.models.ret.ResultContent;
|
|
|
-import com.github.microservice.models.ret.ResultState;
|
|
|
+import com.github.microservice.net.ResultContent;
|
|
|
+import com.github.microservice.net.ResultState;
|
|
|
import com.zhongshu.card.client.service.org.OrganizationService;
|
|
|
import com.zhongshu.card.client.service.org.UserAccountService;
|
|
|
-import com.zhongshu.card.client.utils.type.UserState;
|
|
|
import com.zhongshu.card.server.core.service.org.IndexService;
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
-import io.swagger.v3.oas.annotations.Parameter;
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
import jakarta.servlet.http.Cookie;
|
|
|
import jakarta.servlet.http.HttpServletRequest;
|
|
|
import jakarta.servlet.http.HttpServletResponse;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.data.domain.Page;
|
|
|
-import org.springframework.data.domain.Pageable;
|
|
|
-import org.springframework.data.web.PageableDefault;
|
|
|
import org.springframework.http.MediaType;
|
|
|
import org.springframework.util.Assert;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
/**
|
|
|
* @author TRX
|
|
|
* @date 2024/6/4
|