12 2019 档案

springboot报错:expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
摘要:springboot Controller中引用 @Autowired private IXxxService xxxService; 报错;expected at least 1 bean which qualifies as autowire candidate. Dependency anno 阅读全文

posted @ 2019-12-16 10:31 七七2020 阅读(7307) 评论(0) 推荐(1)

数据库备份
摘要:一、mysql 1、停止使用数据库的程序 2、服务->MYSQL->停止服务 3、压缩E盘mysql文件夹 4、压缩完成后,启动MYSQL服务,打开程序 5、如果数据库有定时任务: -- 检查事件定时启动状态 SHOW VARIABLES LIKE 'event_scheduler'; -- 如果没 阅读全文

posted @ 2019-12-11 09:14 七七2020 阅读(143) 评论(0) 推荐(0)

spring-boot swagger2 设置全局token,说明页面接口无法带入token
摘要:1、swagger配置类 // 验证 private List<ApiKey> securitySchemes() { List<ApiKey> apiKeyList = new ArrayList(); apiKeyList.add(new ApiKey("token", "token", "he 阅读全文

posted @ 2019-12-10 13:40 七七2020 阅读(5319) 评论(0) 推荐(0)

c# 结构体中包含结构体数组的使用
摘要:c# 中定义了两个结构体,B中包含多组A #region 结构体A struct A { public int dataNum; public double inVol; }; #endregion #region 结构体B struct B { public string s1; public s 阅读全文

posted @ 2019-12-02 17:03 七七2020 阅读(9549) 评论(0) 推荐(0)

导航