yapi期望、mock、自动化测试及idea插件使用

  • Post author:
  • Post category:其他

一、项目基本配置 1、添加新接口 添加子节点 2、接口请求/插件安装 3、同一个接口,不同参数来区别不同的服务/自动化测试 用测试集合来使用 # 回归测试,批量测试。 配置成功标识 (根据实际情况判断) assert.deepEqual(body.sys_header.status, “true”) 导入需要测试的接口 添加请求参数 4、测试用例成功判断 开启test,并书写断言内容,判断接口是否…

继续阅读 yapi期望、mock、自动化测试及idea插件使用

@Scope 用法

  • Post author:
  • Post category:其他

参考:@Scope注解 详细讲解及示例 官方文档 When used as a type-level annotation in conjunction with @Component, @Scope indicates the name of a scope to use for instances of the annotated type. When used as a method-lev…

继续阅读 @Scope 用法

Android:WebView与Javascript交互(相互调用参数、传值)

  • Post author:
  • Post category:java

现在很多App里都内置了Web网页(Hyprid App),比如说很多电商平台,淘宝、京东、聚划算等等,如下图 京东首页 上述功能是由Android的WebView实现的,其中涉及到Android客户端与Web网页交互的实现 今天我将全面介绍Android通过WebView与JS交互的全面方式 目录 1. 交互方式总结 Android与JS通过WebView互相调用方法,实际上是: Android…

继续阅读 Android:WebView与Javascript交互(相互调用参数、传值)

ActiveMQ 消息游标(Message Cursors)

  • Post author:
  • Post category:其他

<style type="text/css"> <!-- p {text-indent:2em} --> </style> Message Cursors 消息游标 A common problem in previous versions of ActiveMQ wasrunning out of RAM bufferwhen using non-persis…

继续阅读 ActiveMQ 消息游标(Message Cursors)

ubuntu使用qtcreator,提示Invalid Qt version

  • Post author:
  • Post category:其他

安装个Qt费了半天劲!! 无奈致人狂,记之慰吾心!! 参数参数值系统ubuntu 20.04.5 LTS仓库源deb https://repo.huaweicloud.com/ubuntu-ports/ focal main restrictedqt版本5.12.8qtcreator版本4.11.0 Who:数字基建工人 What:在系统中安装qtcreator IDE。进入缺什么装什么阶段:缺q…

继续阅读 ubuntu使用qtcreator,提示Invalid Qt version

数据库mysql—NUMERIC数据类型

  • Post author:
  • Post category:mysql

NUMERIC数据类型: NUMERIC数据类型是一种精确数字数据类型,其精度在算术运算后保留到最小有效位,numeric是标准sql的数据类型,格式是numeric(m,n)。 numeric(a,b)函数有两个参数,前面一个为总的位数,后面一个参数是小数点后的位数,例如numeric(5,2)是总位数为5,小数点后为2位的数,也就是说这个字段的整数位最大是3位。 NUMERIC的注意事项: 如…

继续阅读 数据库mysql—NUMERIC数据类型

FunctionalInterface

  • Post author:
  • Post category:其他

一、什么是函数式接口 一个只能有一个抽象方法的接口。   二、函数式接口的用途 主要在Lambda表达式和方法引用上。 如: @FunctionalInterface interface GreetingService{      void sayMessage(String message); } 这样的接口就可以使用Lambda表达式来表示该接口的一个实现 GreetingService gr…

继续阅读 FunctionalInterface

自带logo的二维码生成代码

  • Post author:
  • Post category:其他

代码工具类 QRCodeUtil 这部分代码只要拷入代码里就可以 public class QRCodeUtil{ /** * 生成二维码Bitmap * * @param content 内容 * @param widthPix 图片宽度 * @param heightPix 图片高度 * @param logoBm 二维码中心的Logo图标(可以为null) * @param filePath…

继续阅读 自带logo的二维码生成代码

腾讯云服务器安装redis、mysql

  • Post author:
  • Post category:mysql

切换到root用户 sudo su redis 安装步骤 安装c语言的编译环境,先看看系统有没有编译环境: gcc --version 通过yum命令安装gcc : yum install gcc 将压缩包移动到/opt目录下解压压缩包: tar -zxvf redis-7.0.4.tar.gz 进入到解压后的redis目录: cd redis-7.0.4 通过make命令将里面的文件编译成c文件…

继续阅读 腾讯云服务器安装redis、mysql

tensorflow tf.py_func

  • Post author:
  • Post category:其他

tf.py_func 在 faster  rcnn的tensorflow 实现中看到这个函数 1 rois,rpn_scores = tf.py_func(proposal_layer,[rpn_cls_prob,rpn_bbox_pred, self ._im_info, self .mode, self ._feat_stride, self ._anchors, self ._num_anc…

继续阅读 tensorflow tf.py_func