1.定义消息类型 package Common const ( LoginMesType = "LoginMes" LoginResType = "LoginResMes" ) type Message struct { Type string `json:"type"` //消息类型 Data s ...
分类:
其他好文 时间:
2021-01-05 10:59:42
阅读次数:
0
Google protobuf是非常出色的开源工具,在项目中可以用它来作为服务间数据交互的接口,例如rpc服务、数据文件传输等。protobuf为proto文件中定义的对象提供了标准的序列化和反序列化方法,可以很方便的对pb对象进行各种解析和转换。以下是我总结的protobuf使用技巧和经验,分享给 ...
分类:
其他好文 时间:
2021-01-05 10:57:42
阅读次数:
0
There are many ways to load text data file into the database. In general, we would use applications that database service providers' product. For exam ...
分类:
其他好文 时间:
2021-01-05 10:36:37
阅读次数:
0
页面: 1 @using (Html.BeginForm("Update", "Controller", FormMethod.Post, 2 new { id = "Form", enctype = "multipart/form-data" })) 3 { 4 5 <div class="mod ...
分类:
数据库 时间:
2021-01-04 11:33:54
阅读次数:
0
#!/bin/bash data=`date '+%Y-%m-%d-%H-%M'` a=(`kubectl get deployments --all-namespaces |awk '{print $1}'| grep -v NAME`) ## 获取域名空间(NAMESPACE) b=(`kube ...
分类:
其他好文 时间:
2021-01-04 11:32:43
阅读次数:
0
1.是否需要降维? Dimensionality reduction we normally use it to visualize our data and to find hidden information we don't normally see. Also, it is use for ...
分类:
其他好文 时间:
2021-01-04 11:30:05
阅读次数:
0
今天执行:net start MongoDB 开启服务时,出现服务名无效问题。 百度搜了一些文章,终于找到了解决办法: 1、新建db文件夹和log文件夹 2、新建mongo.config文件 dbpath=D:\Program Files\MongoDB\Server\4.2\data\db log ...
分类:
数据库 时间:
2021-01-04 11:27:12
阅读次数:
0
11.如何从CDN加载jQuery? 下面是从所有3个CDN加载jQuery的代码。 从Google CDN加载jQuery Framework的代码 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/j ...
分类:
编程语言 时间:
2021-01-04 11:26:30
阅读次数:
0
当采购信息记录更新价格后,可以透过前台ME22N项目-->条件-->更新 来修改采购单的价格 批量执行改功能则使用函数BAPI_PO_CHANGE,代码如下: REPORT ZMMRTEST. DATA: lv_ebeln TYPE ebeln, lt_item TYPE TABLE OF bapi ...
在代码中我们可以只加上标签@Data 而不用get,set方法; val : 和 scala 中 val 同名, 可以在运行时确定类型; @NonNull : 注解在参数上, 如果该类参数为 null , 就会报出异常, throw new NullPointException(参数名) @Clea ...
分类:
其他好文 时间:
2021-01-04 11:15:37
阅读次数:
0