SharedPreference是一种轻量级的内部数据存储方式,采用Key/value的形式,只运行存储一些简单的数据,比如int,float等类型 首先先创建SharedPreference package com.example.sharedpreference; import androidx ...
分类:
移动开发 时间:
2021-06-04 19:53:37
阅读次数:
0
package com.zz.bridge.impl; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar ...
分类:
其他好文 时间:
2021-06-04 19:35:30
阅读次数:
0
ssm实现qq邮箱发送验证码 导入maven依赖 <!--邮箱验证码--> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>5.1 ...
分类:
其他好文 时间:
2021-06-04 19:09:34
阅读次数:
0
修改build.gradle文件 // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { goog ...
分类:
移动开发 时间:
2021-06-04 19:09:13
阅读次数:
0
package main import ( "fmt" "gorm.io/driver/mysql" "gorm.io/gorm" "time" ) type User struct { ID int Name string CreatedTime time.Time } func main() { ...
分类:
其他好文 时间:
2021-06-04 19:06:12
阅读次数:
0
.net core 编写通用的Redis功能 在 Package项目里面,添加包:StackExchange.Redis: 在Common工具文件夹下,新建 Wsk.Core.Redis类库项目,并新建 RedisManage 类和对应接口 IRedisManage,如下图。然后,在该项目里面,引用 ...
分类:
Web程序 时间:
2021-06-04 19:05:09
阅读次数:
0
/* * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. ...
分类:
编程语言 时间:
2021-06-04 18:53:10
阅读次数:
0
方法一: 在 package.json 中添加 --open 方法二: 在 vue.config.js 中,devServer 添加加 open:true ,没有vue.config.js,自己创建一个 module.exports = { devServer: { open: true } } ...
分类:
其他好文 时间:
2021-06-03 18:18:31
阅读次数:
0
一、前言 在我们做接口或者是app自动化的时候,有一个比较常见的场景就是测试流程一致,入参不同。而junit5也提供了很好的解决方案。 二、依赖的加入 maven方式,使用junit5参数化需要导入junit-jupiter-params库 <!-- https://mvnrepository.co ...
分类:
其他好文 时间:
2021-06-03 18:17:33
阅读次数:
0
一:进入网建短信通 http://sms.webchinese.cn/reg.shtml 注册用户,登录用户,找到修改短信秘钥,修改签名 二:使用idea创建一个maven项目导入以下依赖: <dependency> <groupId>org.ops4j.pax.url</groupId> <art ...
分类:
移动开发 时间:
2021-06-03 18:10:10
阅读次数:
0