上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 44 下一页
摘要: package com.java.test1; import com.java.test1.controller.OrderController; import org.junit.jupiter.api.Test; import org.junit.runner.RunWith; import o 阅读全文
posted @ 2021-07-17 20:32 Mr_sven 阅读(137) 评论(0) 推荐(0) 编辑
摘要: SpringBoot工程默认读取application.properties配置文件。如果需要自定义properties文件,如何读取呢? 一、在resource中新建.properties文件 在resource目录下新建一个config文件夹,然后新建一个.properties文件放在该文件夹下 阅读全文
posted @ 2021-07-16 21:36 Mr_sven 阅读(1911) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar cal = Calendar.getInstance(); ca 阅读全文
posted @ 2021-07-16 06:59 Mr_sven 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 【父工程(dubbo-demo)】 pom.xml <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/X 阅读全文
posted @ 2021-07-15 06:51 Mr_sven 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 通过 dubbo.properties dubbo.reference.com.foo.BarService.check=false dubbo.reference.check=false dubbo.consumer.check=false dubbo.registry.check=false 通 阅读全文
posted @ 2021-07-01 22:01 Mr_sven 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 数组转字符串 var authority= ['1','2']; let permission = authority.join(","); console.log(permission )//1,2 字符串转数组 var a='1,2' a.split(',') console.log(a)// 阅读全文
posted @ 2021-06-30 22:30 Mr_sven 阅读(7496) 评论(1) 推荐(0) 编辑
摘要: <el-dropdown trigger="click" @command="handleCommand" @visible-change="test"></el-dropdown> 其中test(val){console.log(val);} 方法中直接打印值,得到的是true或者false. 但 阅读全文
posted @ 2021-06-30 22:26 Mr_sven 阅读(359) 评论(0) 推荐(0) 编辑
摘要: var arr=[1,2,3,4]; alert(arr.indexOf(2)); 阅读全文
posted @ 2021-06-29 21:48 Mr_sven 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 1.导入依赖 父工程 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.a 阅读全文
posted @ 2021-06-28 22:59 Mr_sven 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 1.导入依赖 父工程 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.a 阅读全文
posted @ 2021-06-28 22:40 Mr_sven 阅读(1082) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 44 下一页