一般拿到的cookies字符串格式为"xxx:xxxxx; xxxx:xxxxx; ",简单自定义一个函数转换 def cookie_to_dic(mycookie): dic = {} for i in mycookie.split('; '): dic[i.split('=')[0]] = i. ...
分类:
编程语言 时间:
2021-01-12 11:13:55
阅读次数:
0
创建SpringBoot项目 创建一个普通的SpringBoot项目,然后引入依赖,既然要跟数据库打交道,connector肯定不能少 <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId ...
分类:
编程语言 时间:
2021-01-12 11:06:33
阅读次数:
0
ScrollView组件常用于轮播图或引导页,那么水平滚动则比较常用 自定义水平的CKScrollView.js组件类 1 import React,{Component} from 'react'; 2 import { 3 View, 4 Text, 5 StyleSheet, 6 Scroll ...
分类:
其他好文 时间:
2021-01-12 11:05:38
阅读次数:
0
1.创建自定义CKButton.js组件类 1 import React,{Component} from 'react'; 2 import { 3 View, 4 StyleSheet, 5 Button, 6 TouchableOpacity, 7 Text 8 } from 'react-n ...
分类:
其他好文 时间:
2021-01-12 10:48:48
阅读次数:
0
<template> <view class="login"> <view class="content-wrapper"> <view class="title"> <h1>欢迎使用考试系统</h1> </view> <view class="login-form"> <view class="l ...
分类:
移动开发 时间:
2021-01-11 11:21:48
阅读次数:
0
?自定义排序格式 ///对 num [1,n+1)区间进行自定义排序 Arrays.sort(num,1,n+1,new Comparator<Integer>() { public int compare(Integer o1,Integer o2) { return o1-o2;///o1-o2 ...
分类:
编程语言 时间:
2021-01-11 10:56:15
阅读次数:
0
今日学习进度: 1.从Android Studio中导出数据库: View -> Tool Windows -> Device File Explorer -> data -> data -> 找到相应项目 -> .db文件(Save as 导出)-> 打开Navicat -> 新建链接 -> 导入 ...
分类:
移动开发 时间:
2021-01-11 10:44:05
阅读次数:
0
自定义弹窗组件:https://www.cnblogs.com/Post-90sDachenchen/p/13636668.html#4795824 参考2:https://www.jianshu.com/p/4a2e8ca47ded 微信小程序自带弹窗组件 wx.showModal js示例: p ...
分类:
微信 时间:
2021-01-11 10:31:04
阅读次数:
0
/** * @desc: 自定义索引优先队列,可修改,删除索引对应的值 * @author: 毛会懂 * @create: 2021-01-06 17:20:00 **/ public class MyIndexPriorityQueue<T extends Comparable<T>> { pri ...
分类:
其他好文 时间:
2021-01-08 11:45:21
阅读次数:
0
自定义通用mapper 由于mapper做了分层结构,我们的mapper接口可不继承Mapper,而是有选择性的使用需要用到的封装好的相关方法。即自定义通用mapper 封装好的方法: 1-编写自定义通用mapper接口并选择性的继承封装好的方法。 public interface MyMapper ...
分类:
移动开发 时间:
2021-01-08 11:32:09
阅读次数:
0