|
@@ -17,6 +17,7 @@ import com.fdkankan.ucenter.service.ISceneProService;
|
|
|
import com.fdkankan.ucenter.service.IUserService;
|
|
|
import com.fdkankan.web.util.WebUtil;
|
|
|
import java.util.Objects;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -29,6 +30,7 @@ import org.springframework.stereotype.Service;
|
|
|
* @author dengsixing
|
|
|
* @since 2022/9/27
|
|
|
**/
|
|
|
+@Slf4j
|
|
|
@Service
|
|
|
public class InnerServiceImpl implements IInnerService {
|
|
|
|
|
@@ -47,6 +49,9 @@ public class InnerServiceImpl implements IInnerService {
|
|
|
@Override
|
|
|
public Result createTokenByNum(String num, String customToken) {
|
|
|
|
|
|
+ log.info(this.customToken);
|
|
|
+ log.info(customToken);
|
|
|
+
|
|
|
if(!this.customToken.equals(customToken)){
|
|
|
return Result.failure("无权访问");
|
|
|
}
|