码迷,mamicode.com
首页 >  
搜索关键字:author    ( 11116个结果
在SpringBoot中使用SpringSecurity
@ 目录 提出一个需求 解决方案: 使用SpringSecurity进行解决 SpringSecurity和SpringBoot结合 1. 首先在pom.xml中引入依赖: 2. 配置用户角色和接口的权限关系 3. 配置用户名和密码 4.进行测试 总结: 本教程是基于SpringMVC而创建的,不适 ...
分类:编程语言   时间:2020-05-11 15:25:04    阅读次数:75
url分发
from django.db import models # Create your models here. class Author(models.Model): nid = models.AutoField(primary_key=True) name=models.CharField( ma ...
分类:Web程序   时间:2020-05-11 13:31:26    阅读次数:65
python_selenium简单记录一下
# Author:BeeLe# -*-coding:utf-8-*-import osimport randomimport timefrom time import sleepimport pywin32_system32from selenium import webdriverfrom sel ...
分类:编程语言   时间:2020-05-10 23:23:42    阅读次数:83
python自动生成证件号
# Author:BeeLe# -*-coding:utf-8-*-# 生成身份证号码主程序import urllib.requestimport requestsfrom bs4 import BeautifulSoupimport reimport randomimport timeimport ...
分类:编程语言   时间:2020-05-10 23:21:40    阅读次数:88
python自动生成电话号
# Author:BeeLe# -*- coding: utf-8 -*-import randomdef create_phone(): # 第二位数字 second = [3, 4, 5, 7, 8][random.randint(0, 4)] # 第三位数字 third = {3: rando ...
分类:编程语言   时间:2020-05-10 23:11:06    阅读次数:85
多线程按顺序打印数字,支持配置线程数目和打印数字结尾
```javaimport java.util.concurrent.atomic.AtomicInteger;/** * @author zerodsLyn * created on 2020/5/10 */public class MultiThreadSerialPrint { private... ...
分类:编程语言   时间:2020-05-10 19:38:56    阅读次数:98
__iter__和__next__实现迭代器协议
__iter__()将对象转换为可迭代对象,__next__()返回实现迭代 #_*_coding:utf-8_*_ __author__ = 'Linhaifeng' class Foo: def __init__(self,x): self.x=x def __iter__(self): ret ...
分类:其他好文   时间:2020-05-10 19:32:08    阅读次数:63
守护进程
#__author__:Kelvin #date:2020/5/10 11:37 import time from multiprocessing import Process def son1(): while True: print('--> in son1') time.sleep(1) de ...
分类:系统相关   时间:2020-05-10 12:36:46    阅读次数:70
使用stream流的方式过滤和遍历集合
import java.util.ArrayList; import java.util.List; /** * 使用stream流的方式过滤和遍历集合 * @author wukefan * */ public class Test { public static void main(String ...
分类:其他好文   时间:2020-05-10 01:44:32    阅读次数:260
面向对象案例-学生信息管理系统V1.1
1.学生类 package com.qfedu.student.entity; /** * 学生类实体 * * @author GGGXXC * */ public class Student { private int id; private String name; private int ag ...
分类:其他好文   时间:2020-05-10 01:11:03    阅读次数:63
11116条   上一页 1 ... 60 61 62 63 64 ... 1112 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!