You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
426 B

package ${basePackage}.config;
import ${basePackage}.frame.base.Token;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class TestConfig {
@Bean
public Token getTestToken() {
Token token = new Token();
token.setId(-1);
token.setUserId(-1);
token.setUserName("system");
return token;
}
}

Powered by TurnKey Linux.