使用时在引导类用@bean注入 在需要用的地方@AutoWired注入 package com.changgou.order.config; import com.alibaba.fastjson.JSON; import org.springframework.core.io.ClassPathR ...
分类:
其他好文 时间:
2021-01-19 12:17:05
阅读次数:
0
self.info('清理成功%s' % (chr(0x1f600))) for i in range(0x1f600,0x1f650): print(chr(i),end=" ") if i%16==15: print() ...
分类:
编程语言 时间:
2021-01-19 12:06:12
阅读次数:
0
https://codeforces.ml/contest/1465/problem/D 参考:https://www.cnblogs.com/JDFZ-ZZ/p/14171488.html & https://blog.csdn.net/weixin_43918473/article/detail ...
分类:
其他好文 时间:
2021-01-19 12:01:51
阅读次数:
0
ECNU 1000 A + B Problem 链接 https://acm.ecnu.edu.cn/problem/1000 题目 单点时限: 1.0 sec 内存限制: 256 MB 输入格式 Two integer a,b(<=10) . Process to end of file. 输出格 ...
分类:
其他好文 时间:
2021-01-19 11:49:06
阅读次数:
0
最短路变形:用一条最小边替换一条最大边意义下的最短路 分层图,dis[i][0/1][0/1]表示点i,是否经过最小边,是否经过最大边 最小边两倍贡献,最大边0贡献 /* * Author : GhostCai * Expecto Patronum */ #include<bits/stdc++.h ...
分类:
其他好文 时间:
2021-01-19 11:43:34
阅读次数:
0
###socket socket本质是插板和插座的意思,要完成数据的通信的套接字必须是成对出现的,即代表了插板和插座,,如下图所示,IP地址+端口号就对应了一个socket,一端的发送缓冲区对应了一端的接收缓冲区。建立连接的两个进程各自有一个socket来标识,那么这两个socket就组成的sock ...
分类:
其他好文 时间:
2021-01-19 11:42:22
阅读次数:
0
PHP中mysqli_errno和mysqli_error的区别和使用 mysqli_errno() 函数返回最近调用函数的最后一个错误代码。 mysqli_error() 函数返回最近调用函数的最后一个错误描述。 mysqli_errno(connection);mysqli_error(conn ...
分类:
数据库 时间:
2021-01-18 11:31:26
阅读次数:
0
String类型 set k1 aaa append k1 "bbb" getrange k1 0 -1 setrange k1 5(不能负数) ccc 替换,不够就补 object help object encoding k1 字符串是 embstr、raw、int incr k2 incrby ...
分类:
其他好文 时间:
2021-01-18 11:21:29
阅读次数:
0
当前日期: Sub 测试() Debug.Print Date End Sub 当前时间: Sub 测试() Debug.Print Date End Sub 几月: Sub 测试() Debug.Print Date Debug.Print Month(Date) & "月" End Sub 格式 ...
分类:
编程语言 时间:
2021-01-18 10:41:21
阅读次数:
0
Java常用类——StringBuffer和StringBuilder String、StringBuffer、StringBuilder对比 IDEA中Ctrl+Shift+T查看类定义 String:不可变 StringBuffer:可变,线程安全,效率低 StringBuilder:可变,线程 ...
分类:
编程语言 时间:
2021-01-18 10:39:05
阅读次数:
0