from fastapi.staticfiles import StaticFiles app.mount(path='/coronavirus/',app=StaticFiles(directory=' ./coronavirus/static', name='static')) ...
自动化开发部署和测试 在之前章节中有一个IsValid方法,检查银行账号是是否符合校验码要求,由于这种方法很容易出现代码错误,都会写一个短小的程序来测试验证此方法。 class Program { [STAThread] static void Main(string[] args) { strin ...
分类:
其他好文 时间:
2021-06-02 14:49:27
阅读次数:
0
新建 axios.js 放入libs目录下 import qs from 'qs'; // create an axios instance const service = axios.create({ baseURL: process.env.VUE_APP_BASE_API, // url = ...
分类:
移动开发 时间:
2021-06-02 14:43:30
阅读次数:
0
//1. ES5 闭包实现单例模式 let singleton = (function(){ let instance = null; return function(name){ this.name = name; instance = instance? instance : this; ret ...
分类:
编程语言 时间:
2021-06-02 14:36:57
阅读次数:
0
class Main { public static void main(String[] args) { b bb = new b(); } } class a{ // a(){ 注释我会报错 // System.out.println("a"); // } a(int a){ System.ou ...
分类:
编程语言 时间:
2021-06-02 13:54:11
阅读次数:
0
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:
其他好文 时间:
2021-06-02 13:50:16
阅读次数:
0
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:
其他好文 时间:
2021-06-02 13:48:33
阅读次数:
0
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:
其他好文 时间:
2021-06-02 13:43:42
阅读次数:
0
实验任务一 #include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", ...
分类:
编程语言 时间:
2021-06-02 13:40:25
阅读次数:
0
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:
其他好文 时间:
2021-06-02 13:37:57
阅读次数:
0