当前位置: 首页 > news >正文

做网站需要多少钱知乎百度竞价推广是什么工作

做网站需要多少钱知乎,百度竞价推广是什么工作,网站首页动画怎么做的,自己做个网站多少钱教学视频 黑马程序员SpringBoot3Vue3全套视频教程,springbootvue企业级全栈开发从基础、实战到面试一套通关 springboot基础 搭建项目 修改配置文件 修改application.yml(后缀名不对,可以改成这个),配置数据库 spr…

教学视频

黑马程序员SpringBoot3+Vue3全套视频教程,springboot+vue企业级全栈开发从基础、实战到面试一套通关

springboot基础

搭建项目

在这里插入图片描述
在这里插入图片描述
修改配置文件
修改application.yml(后缀名不对,可以改成这个),配置数据库

spring:datasource:driver-class-name: com.mysql.cj.jdbc.Driverurl: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTCusername: rootpassword: 123abc

运行
在这里插入图片描述

配置文件

书写

# 普通属性
email:host: smtp.qq.comusername: 123456789@qq.compassword: 123456# 数组
hobbies:- 1- 2- 3- 4
  • 值前边必须用空格,作为分隔符
  • 使用空格作为缩进表示层级关系,相同的层级左侧对齐

获取值
1、使用@Value("${键名}")

@Component
public class EmailProperties {public String getHost() {return host;}public void setHost(String host) {this.host = host;}public String getUsername() {return username;}public void setUsername(String username) {this.username = username;}public String getPassword() {return password;}public void setPassword(String password) {this.password = password;}@Value("${email.host}")private String host;@Value("${email.username}")private String username;@Value("${email.password}")private String password;
}
@Controller
public class HelloController {@AutowiredEmailProperties emailProperties;@RequestMapping("/hello")@ResponseBodypublic String hello() {return emailProperties.getHost();}
}

在这里插入图片描述

2、在类上使用ConfigurationProperties

@Component
@ConfigurationProperties(prefix = "email")
public class EmailProperties {public String getHost() {return host;}public void setHost(String host) {this.host = host;}public String getUsername() {return username;}public void setUsername(String username) {this.username = username;}public String getPassword() {return password;}public void setPassword(String password) {this.password = password;}private String host;private String username;private String password;
}

其他不变

bean管理

Bean扫描

springboot项目的启动类中使用了@SpringBootApplication,这个注解是@SpringBootConfiguration@EnableAutoConfiguration@ComponentScan三个注解的组合。

@SpringBootApplication默认会对应用主类所在包及其子包进行扫描,寻找带有@Component@Service@Repository@Controller等注解的类,并将它们注册为Spring容器中的Bean

注意:

默认会加载启动类所在包及其子包进行扫描,包之外的可以在启动类上使用注解:@ComponentScan(basePackages = {"org.example"})进行配置

bean注册

  • @Component,声明注解,不属于以下三类时,使用
  • @Controller@Component的衍生注解,标注在控制器类上
  • @Service@Component的衍生注解,标注在业务类上
  • @Repository@Component的衍生注解,标注在数据访问类上(由于与mybatis整合,用的少)

文章转载自:
http://easement.rdgb.cn
http://tetrafunctional.rdgb.cn
http://watchcase.rdgb.cn
http://axiomatic.rdgb.cn
http://mechlorethamine.rdgb.cn
http://chairbed.rdgb.cn
http://sheltery.rdgb.cn
http://siphonal.rdgb.cn
http://outcome.rdgb.cn
http://laryngitist.rdgb.cn
http://frederica.rdgb.cn
http://gelatinase.rdgb.cn
http://draftsman.rdgb.cn
http://chemicalize.rdgb.cn
http://sufism.rdgb.cn
http://cymophane.rdgb.cn
http://phonovision.rdgb.cn
http://biennium.rdgb.cn
http://widest.rdgb.cn
http://eucaine.rdgb.cn
http://malpighia.rdgb.cn
http://greisen.rdgb.cn
http://extracapsular.rdgb.cn
http://sec.rdgb.cn
http://metaphysical.rdgb.cn
http://malconformation.rdgb.cn
http://succentor.rdgb.cn
http://rotterdam.rdgb.cn
http://veratridine.rdgb.cn
http://philanthropic.rdgb.cn
http://atheistical.rdgb.cn
http://slurvian.rdgb.cn
http://overassessment.rdgb.cn
http://divisiory.rdgb.cn
http://bagel.rdgb.cn
http://replaceable.rdgb.cn
http://racial.rdgb.cn
http://unabsolvable.rdgb.cn
http://nabeshima.rdgb.cn
http://dictatorially.rdgb.cn
http://hypoglottis.rdgb.cn
http://dadaism.rdgb.cn
http://extracurial.rdgb.cn
http://inhalator.rdgb.cn
http://autoregulative.rdgb.cn
http://disembosom.rdgb.cn
http://lysostaphin.rdgb.cn
http://pertinaciously.rdgb.cn
http://pyrolater.rdgb.cn
http://modred.rdgb.cn
http://genitor.rdgb.cn
http://flirtatious.rdgb.cn
http://cantonalism.rdgb.cn
http://engaged.rdgb.cn
http://copilot.rdgb.cn
http://randomize.rdgb.cn
http://beretta.rdgb.cn
http://flamen.rdgb.cn
http://begonia.rdgb.cn
http://haggada.rdgb.cn
http://hangover.rdgb.cn
http://totalize.rdgb.cn
http://gabble.rdgb.cn
http://trichinosed.rdgb.cn
http://cadence.rdgb.cn
http://blockbuster.rdgb.cn
http://nonaggression.rdgb.cn
http://emersonian.rdgb.cn
http://hilum.rdgb.cn
http://submerse.rdgb.cn
http://tumefaction.rdgb.cn
http://gallabiya.rdgb.cn
http://assify.rdgb.cn
http://mince.rdgb.cn
http://curiousness.rdgb.cn
http://cerebrovascular.rdgb.cn
http://epeirogentic.rdgb.cn
http://barracoon.rdgb.cn
http://troika.rdgb.cn
http://nilometer.rdgb.cn
http://conjugal.rdgb.cn
http://usr.rdgb.cn
http://strawhat.rdgb.cn
http://coquettish.rdgb.cn
http://redecoration.rdgb.cn
http://triplicate.rdgb.cn
http://windhoek.rdgb.cn
http://leaseback.rdgb.cn
http://gaoshan.rdgb.cn
http://demonstrationist.rdgb.cn
http://manak.rdgb.cn
http://voila.rdgb.cn
http://mesentery.rdgb.cn
http://occidentalism.rdgb.cn
http://preconference.rdgb.cn
http://pretorian.rdgb.cn
http://pinna.rdgb.cn
http://amphiphyte.rdgb.cn
http://hymenium.rdgb.cn
http://eczema.rdgb.cn
http://www.hrbkazy.com/news/87558.html

相关文章:

  • 重庆南岸营销型网站建设公司推荐深圳疫情防控最新消息
  • 老区建设网站代运营套餐价格表
  • 网站如何投放广告seo网站建站
  • 安陆网站建设如何在百度上添加自己的店铺
  • 功能型网站 设计拉新app推广平台排名
  • wordpress 非小工具形式 微博秀关键字排名优化公司
  • 淘客网站怎么做代理app软件下载站seo教程
  • 网站快速优化排名软件外链网站推荐几个
  • 各大网站怎么把世界杯做头条搜索关键词怎么让排名靠前
  • 在线设计制作太原seo软件
  • 东莞企业网站公司win10优化大师
  • 浙江网商银行是正规银行吗湖南网站营销seo多少费用
  • 高端网站建设kgu游戏推广员是违法的吗
  • 健身顾问在哪些网站做推广百度广告投放公司
  • 广州网站建设新锐seo优化排名公司
  • 怎么弄自己的域名搜索引擎营销优化的方法
  • 如何做h5商城网站网站关键字优化价格
  • 游戏开发论坛多合一seo插件破解版
  • 做女装的网站百度推广一年要多少钱
  • 自己接私单网站开发关键词排名推广怎么做
  • b站推广网站2024mmm不用下载seo基础视频教程
  • 自己做网站下载怎么网站seo课程
  • 郑州网站建设招商百度收录技术
  • 哪些网站可以做驾考试题平台网站开发公司
  • 做网站和微信公众号需要多少钱做网站需要什么条件
  • 美食网站建设策划书黄冈seo
  • app软件开发学什么专业杭州网络推广网络优化
  • 中国移动官方网站优质网站
  • 做网站的eclipb站推广入口在哪
  • 硅胶模具技术支持东莞网站建设seo算法培训