<properties> <java.version>1.8</java.version></properties><parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent< ...
分类:
编程语言 时间:
2021-03-29 12:44:35
阅读次数:
0
<?php namespace app\common\controller;use app\common\controller\WechatAuth; class PortalBase extends Base{ protected function _initialize() { parent:: ...
分类:
微信 时间:
2021-03-17 14:39:03
阅读次数:
0
select id, @group_row:=CASE when @parent_code=a.staff_id then @group_row+1 else 1 end as groupRow, @parent_code:=a.staff_id as parent_code from ss_sta ...
分类:
数据库 时间:
2021-03-17 14:22:05
阅读次数:
0
给你一个链表的头节点 head 和一个整数 val ,请你删除链表中所有满足 Node.val == val 的节点,并返回 新的头节点 。 class Solution: def removeElements(self, head: ListNode, val: int) -> ListNode: ...
分类:
其他好文 时间:
2021-03-16 11:53:35
阅读次数:
0
错解 class Solution: def reverseWords(self, s: str) -> str: a=[] s=s.split() for i in s: if i!='': left=0 right=len(i)-1 while left <right: i[left],i[ri ...
分类:
其他好文 时间:
2021-03-15 11:18:18
阅读次数:
0
引言: flask中的多实例其实和django的多app很像,不过django的多app通过二级路由分发,flask的多app是通过 DispatcherMiddleware 来实现 代码: from flask import Flask from werkzeug.wsgi import Disp ...
分类:
移动开发 时间:
2021-03-15 10:48:38
阅读次数:
0
1 引入 Python 3.x 和 Python 2.x 的一个区别是 Python 3 可以使用直接使用 super().xxx 代替 super(Class, self).xxx super() 函数是用于调用父类(超类)的一个方法。 super() 是用来解决多重继承问题的,直接用类名调用父类 ...
分类:
其他好文 时间:
2021-03-15 10:36:46
阅读次数:
0
pom.xml 支持springBoot parent <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.4.1</v ...
分类:
编程语言 时间:
2021-03-09 13:40:57
阅读次数:
0
一、类的初始 1.类的结构 class Human: """ 此类主要是构建人类 """ mind = '有思想' # 第一部分:静态属性 属性 静态变量 静态字段 dic = {} l1 = [] def work(self): # 第二部分:方法 函数 动态属性 print('人类会工作') c ...
分类:
编程语言 时间:
2021-03-08 14:14:08
阅读次数:
0
1.order属性定义项目的排列顺序,数值越小,排列越靠前,默认为0 .item{ order:1; } 2.flex-grow属性定义项目的放大比例,默认为0,即如果存在剩余空间也不放大。 如果所有项目的flex-grow 属性为1,他们将等分剩余空间,如果一个flex-grow属性为2,其他项目 ...
分类:
其他好文 时间:
2021-03-08 13:46:23
阅读次数:
0