摘要: Python-Jenkins官网:https://pypi.python.org/pypi/python-jenkins/ Python-Jenkins Doc:http://python-jenkins.readthedocs.io/en/latest/index.html 最近在工作中需要用到在 阅读全文
posted @ 2020-11-16 09:36 smartsmile 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 需求说明: 现有三个变量:appId、appSecret、timestamp(当前时间时间戳),根据这三个变量生成signature,加密程序如下: 1 package cn.yxh.util; 2 3 import org.apache.commons.codec.binary.Base64; 4 阅读全文
posted @ 2020-09-15 10:56 smartsmile 阅读(628) 评论(0) 推荐(0) 编辑
摘要: 2-2.User Models设计 拆分功能模块,创建app,分别创建goods,trades,user_operations 1 startapp goods 2 startapp trades 3 startapp user_operations 将goods,trades,user_opera 阅读全文
posted @ 2020-04-10 07:59 smartsmile 阅读(430) 评论(0) 推荐(0) 编辑
摘要: user表 u_id u_name 1 王大拿 2 张二爷 3 冯三炮 fund表 f_id f_name 1001 P2P 1002 创新基金 1003 境内保险 1004 境外保险 grades表 u_id f_id money 1 1001 5000 1 1002 10000 2 1001 3 阅读全文
posted @ 2020-04-03 18:20 smartsmile 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 1.如何编写测试计划? 2.如何提高测试覆盖率? 3.python的内存管理机制? 4.git有几个仓库,git提交代码分为几步? 5. 阅读全文
posted @ 2020-04-01 17:01 smartsmile 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 问题: 1.Idea中maven项目的pom.xml文件中引入依赖testng 2.此时可以看到已经出现testng的jar包,ERPLogin.java中引用@Test发现无法引用,然后直接import org.testng.annotations.Test也无法显示 3.但是在test目录下能引 阅读全文
posted @ 2020-02-09 10:41 smartsmile 阅读(4035) 评论(0) 推荐(1) 编辑
摘要: 问题: TestNg测试端项目结构: 几个主要文件的内容: 1 <?xml version="1.0" encoding="UTF-8" ?> 2 <!DOCTYPE mapper 3 PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 4 "http://myb 阅读全文
posted @ 2020-01-19 15:46 smartsmile 阅读(468) 评论(1) 推荐(0) 编辑
摘要: 官网文档链接:https://pymysql.readthedocs.io/en/latest/ 1.PyMySQL 安装 1 pip install pymysql 2.数据库连接 注:MySQL数据库已创建数据库TESTDB,在TESTDB数据库中您已经创建了表 EMPLOYEE 1 # -*- 阅读全文
posted @ 2019-12-09 16:14 smartsmile 阅读(4823) 评论(0) 推荐(0) 编辑
摘要: mysql常见的三种循环方式:while、repeat和loop循环。还有一种goto,不推荐使用。 1.while循环 2.repeat循环 3.loop循环 阅读全文
posted @ 2019-09-19 09:32 smartsmile 阅读(57253) 评论(0) 推荐(1) 编辑
摘要: 在学习幕课网"饿了么"程序时,遇到了一个组件通信的问题: 在food详情页面只能通过点击“购物” 1.goods.vue(食品列表组件),2.food.vue(食品详情组件),3.cartcontrol.vue(数量控制组件),4.shopcart.vue(购物车组件) 1.goods.vue组件内 阅读全文
posted @ 2019-08-23 16:38 smartsmile 阅读(385) 评论(0) 推荐(0) 编辑