测试TestTcp请求 处理Socket,代码如下: #region 测试TestTcp /// <summary> /// 测试TestTcp /// </summary> public static async void TestTcp() { var threadStart = new Thr ...
分类:
其他好文 时间:
2020-12-22 12:32:26
阅读次数:
0
使用json序列化与反序列化的方式(有一个数字转换的坑) package t8 import ( "encoding/json" "fmt" "testing" ) type Student struct{ Name string `json:"name"` Age int `json:"age"` ...
分类:
编程语言 时间:
2020-12-22 12:04:11
阅读次数:
0
一、mybatis-config.xml配置 <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org ...
分类:
其他好文 时间:
2020-12-21 11:44:40
阅读次数:
0
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an ...
分类:
移动开发 时间:
2020-12-21 11:33:16
阅读次数:
0
<?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" x ...
分类:
移动开发 时间:
2020-12-21 11:31:03
阅读次数:
0
# encoding: utf-8 import urllib.request import urllib.parse url = "https://www.so.com/s?q=" keyword = input("请输入搜索关键词") keyword = urllib.parse.quote(k ...
分类:
其他好文 时间:
2020-12-19 12:36:43
阅读次数:
1
加密: /// <summary> /// 加密 /// </summary> /// <param name="content">要加密的串</param> /// <param name="aesKey">密钥</param> /// <returns></returns> public sta ...
本地maven setting.xml 文件内容如下: <?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor ...
withopen(jsonPath,‘r‘,encoding=‘utf-8‘)asload_f:load_dict=json.load(load_f)#将获取到的appToken覆盖到data_config下datajson.json文件对应的操作中,不是登陆load_dict[jsonkey][‘appToken‘]=res[‘data‘][‘appToken‘]withopen(jsonPat
分类:
编程语言 时间:
2020-12-15 12:45:46
阅读次数:
5
pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ...
分类:
其他好文 时间:
2020-12-15 12:10:21
阅读次数:
3