基于 Django 自带的权限系统认证 创建用户 create_user 方法 from rest_framework.views import APIView from rest_framework.response import Response class UserRegisterView(A ...
分类:
其他好文 时间:
2021-06-10 17:57:27
阅读次数:
0
打开设置文件 更换settings.json文件 复制下面代码,保存到settings.json文件中 {"vetur.format.defaultFormatter.html": "js-beautify-html", "emmet.includeLanguages": { "wxml": "ht ...
分类:
其他好文 时间:
2021-06-10 17:54:00
阅读次数:
0
类型转换 public class Demo02 { public static void main(String[] args) { //强制转换 (类型)变量名 高-->低 int i = 128; byte b = (byte) i;//内存溢出 System.out.println(i); ...
分类:
其他好文 时间:
2021-06-10 17:53:43
阅读次数:
0
1、 #include <stdio.h> #include <time.h> char data_file[] = "datatime.dat"; void get_data(void) { FILE *fp; if((fp = fopen(data_file, "r")) == NULL) pr ...
分类:
编程语言 时间:
2021-06-10 17:48:54
阅读次数:
0
1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 # @Time : 2021/4/16 10:42 上午 4 # @Name : peilun 5 # @File : Fly_book.py 6 # @Software: PyCharm 7 i ...
分类:
其他好文 时间:
2021-06-09 15:27:31
阅读次数:
0
git clone -b 远程分支名 仓库地址 从远程指定分支克隆代码git branch 查看本地分支 git checkout -b cap 创建本地cap分支 并切换 git add * git commit -m"测试提交" git push origin cap:cap 将本地项目提交到远 ...
分类:
其他好文 时间:
2021-06-09 15:23:31
阅读次数:
0
void llvtype(std::string_view k, Value* v) { std::cout << std::format("{}:{}:{}", k, (int)v->getType()->getTypeID(), v->getName().str() ) << "\n"; } . ...
分类:
其他好文 时间:
2021-06-08 23:38:58
阅读次数:
0
Dapr at 20,000 feet 俯瞰Dapr In chapter 1, we discussed the appeal of distributed microservice applications. But, we also pointed out that they dramatic ...
分类:
Web程序 时间:
2021-06-08 23:37:22
阅读次数:
0
import multiprocessing, time, os# def pro(name):# print('hello', name, time.ctime())## if __name__ == '__main__':# l = []# for t in range(4):# t = mul ...
分类:
系统相关 时间:
2021-06-08 23:20:39
阅读次数:
0
1、 #include <stdio.h> #include <time.h> // time_t数据类型,日历时间头文件 int main(void) { time_t current = time(NULL); // 利用time函数获取日历时间(返回1970之后的秒数,整型) struct t ...
分类:
编程语言 时间:
2021-06-08 23:04:50
阅读次数:
0