一、前言 现如今,前后端分离已经逐渐成为互联网项目一种标准的开发方式,前端与后端交给不同的人员开发, 但是项目开发中的沟通成本也随之升高,这部分沟通成本主要在于前端开发人员与后端开发人员对WebAPI接口的沟通,Swagger2 就可以很好地解决,它可以动态生成Api接口文档,降低沟通成本,促进项目 ...
分类:
编程语言 时间:
2020-05-19 12:33:30
阅读次数:
64
静态导包 //static修饰 最末尾必须是一个静态成员 import static java.lang.System.out; import static java.util.Arrays.sort; public static void main(String[] args) { out.pri ...
分类:
编程语言 时间:
2020-05-18 20:31:56
阅读次数:
69
1.遍历 ArrayList import java.util.*; public class Test{ public static void main(String[] args) { List<String> list=new ArrayList<String>(); list.add("He ...
分类:
其他好文 时间:
2020-05-18 20:22:25
阅读次数:
46
repo 参考: "Repo 命令参考文档" Git 参考: "Git Documention" "廖雪峰 Git教程" ...
分类:
其他好文 时间:
2020-05-18 18:53:55
阅读次数:
45
题目 A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Specification: Each ...
分类:
其他好文 时间:
2020-05-18 18:45:58
阅读次数:
61
Third practice 1 任务描述 分别使用传值、引用、指针参数,以及模板函数实现Swap( x, y ),函数功能为交换x、y的值。 测试输入: ,`4 2.2 3.3`; 预期输出: 源代码 ...
分类:
其他好文 时间:
2020-05-18 16:21:15
阅读次数:
82
HTML: <form enctype="multipart/form-data"> <p>昵称:<input type="text" id="nickname" /></p> <p>头像:<input type="file" id="avator" /></p> <p><input type="s ...
分类:
Web程序 时间:
2020-05-18 16:07:07
阅读次数:
60
NopCommerce 中Task 原理是服务端开启线程定时跑。 1.在数据表ScheduleTask中添加一条数据, 2.自定义类,继承ITask 即可 using Data.Log4Net; using Data.Services.Tasks; using System; using Syste ...
分类:
其他好文 时间:
2020-05-18 14:40:34
阅读次数:
65
多项式除法及取模 http://blog.miskcoo.com/2015/05/polynomial division 概述 给出一个 $n$ 次多项式 $A(x)$ 和一个 $m(m \le n)$ 次多项式 $B(x)$ ,要求求出两个多项式 $D(x), R(x)$ , 满足 $$ A(x) ...
分类:
其他好文 时间:
2020-05-18 12:10:49
阅读次数:
65
"D Game With Array" 题意:构造一个长度为$N$,和为$S$的正整数序列,问能不能找到一个1~S的数$K$,使得数组里找不出一个子序列的和为$K$或者$S K$ 思路:构造一个前$N 1$项均为1,第$N$项为$S (N 1)$的数组即可。此时只要$S (N 1) N$,取$K=N ...
分类:
其他好文 时间:
2020-05-18 09:15:18
阅读次数:
81