修改库存

This commit is contained in:
韩鹏辉
2024-06-19 16:44:11 +08:00
parent e5f5317f4e
commit 50fa846cf1
31 changed files with 1507 additions and 52 deletions

View File

@@ -14,6 +14,7 @@ import org.springframework.context.ApplicationContext;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.client.RestTemplate;
@@ -32,11 +33,14 @@ public class Shell {
SpringApplication springApplication = new SpringApplication(Shell.class);
springApplication.run(args);
}
@Bean
RestTemplate restTemplate(){
public RestTemplate restTemplate(){
return new RestTemplate();
}
@Bean
public CommandLineRunner commandLineRunner(ApplicationContext ctx) {
return (args) -> {