PHP生成微信小程序二维码需要注意两点: 1、小程序必须是上线的 2、传入二维码中需要跳转的小程序页面路径最前面不能加‘/’ 具体实现代码如下: 1 <?php 2 3 namespace app\admin\controller; 4 5 use think\facade\Env; 6 use a ...
分类:
微信 时间:
2020-07-10 19:08:14
阅读次数:
200
说明 packagist 的 地址:https://packagist.org/packages/dh2y/think-qrcode 这里给出packagist 是因为 如果有think其他版本或者用其他方式使用可以去看。 下面只给出tp5.1的使用 think-qrcode扩展安装 thinkph ...
分类:
其他好文 时间:
2020-07-10 13:34:30
阅读次数:
415
写在前面 在上一篇文章《性能脚本试运行》中已经有讲解一部分场景设置和监控,这篇文章是对其的一个补充。 场景设置主要是思考时间设置,集合点设置,运行策略设置。 监控服务器的方式是通过"vmstat"命令,将监控日志重定向输入到TXT文本中。 场景设置 思考时间设置 选择replay think tim ...
分类:
其他好文 时间:
2020-07-08 23:08:13
阅读次数:
102
一、简介 打开Spring官网http://spring.io 首页的中部,可以看到Spring Cloud的简介。 【原文】Building distributed systems doesn't need to be complex and error-prone(易错). Spring Clo ...
分类:
编程语言 时间:
2020-07-07 18:08:44
阅读次数:
108
https://stackoverflow.com/questions/4629800/how-to-use-fiddler-to-monitor-wcf-service You need to add this in your web.config <system.net> <defaultPro ...
分类:
其他好文 时间:
2020-07-07 15:00:34
阅读次数:
51
预测汽车级Linux专业技术的需求 Anticipating need for Automotive Grade Linux expertise 在听了多年汽车级Linux(AGL)及其所有潜力之后,我们现在才开始看到从独立合同市场获得AGL相关专业知识的商业兴趣的起源。虽然过去几年,合作伙伴群体对 ...
分类:
系统相关 时间:
2020-07-07 10:21:53
阅读次数:
245
thinkphp&laravel&swoft 三个框架的目录设计: 首先来看下三者根目录下,有哪些目录: 一眼望去,根目录下的文件数量,laravel7(10) > thinkphp6(8)= swoft2(8),直观上看,三者的复杂程度似乎成正比。 功能的多样性似乎也成正比。 如果我们将目录结构理 ...
分类:
Web程序 时间:
2020-07-07 00:22:25
阅读次数:
106
$where['title'] = array(['like', "%bh%"],['like',"%nk%",'or'); $data=M('news') ->field('id,title,keyword') ->where($where) ->order('add_time DESC') -> ...
分类:
其他好文 时间:
2020-07-06 19:35:47
阅读次数:
57
28th 实现 strStr() 滑动窗口思想/简单模拟 一个外循环用来遍历大串,一个内循环(或调substring函数)用来比对元素。 class Solution { public int strStr(String haystack, String needle) { int l = need ...
分类:
其他好文 时间:
2020-07-06 10:32:37
阅读次数:
61
In life, it's important to distinguish between need and want.生活中要分清楚什么是自己想要的,什么是自己需要的 大学物理 —— 电磁感应 1. 法拉第电磁感应定律 电磁感应现象: 穿过一个闭合导体的磁通量发生变化时导体产生电流的现象。 感应 ...
分类:
其他好文 时间:
2020-07-05 00:43:39
阅读次数:
106