Blogger Information
南鸢离梦的博客
Blog
55
fans
0
comment
0
visits
60415
integral:0
P beans:124
  • List of blog posts
  • 小程序授权获取openid

    code 换取 session_key​这是一个 HTTPS 接口,开发者服务器使用登录凭证 code 获取 session_key 和 openid。session_key 是对用户数据进行加密签名的密钥。为了自身应用安全,session_key ...

    2019-11-21 10:28 Read 2957 comment 0
  • lodop控件打印小票

    2019-11-12 15:58 Read 2726 comment 0
  • HTML转图片的JS插件-rasterizeHTML.js

    在WEB前端工作中,有时需要实现对页面生成缩略图的功能。rasterizeHTML.js就可以将HTML渲染到浏览器的canvas中,直接用JS插件达到生成图片的效果。rasterizeHTML.js为我们提供了三个方法:rasterizeHTML....

    2019-12-24 10:47 Read 2703 comment 0
  • TP5 像一个字段追加内容

    $Content = $data[‘cid’].’,’; // 追加的内容 $tj = Db::name(‘mp_friends’)->where(‘openid’,$data[‘openid’])->find(); $id = $tj[‘id’];...

    2019-11-12 16:04 Read 2686 comment 0
  • LayUI 多图上传操作实例参考

    局部 html 代码参考注意下面的第一行代码: 1此 作为隐藏域,用于保存多图上传的资源数组,方便后期进行 form 表单的提交

    2019-11-12 15:55 Read 2059 comment 0
  • Thinkphp5 中英文切换示例

    开启配置 'lang_switch_on' => true,'lang_list' => ['zh-cn','en-us'],定义语言包框架或模块目录\lang\zh-cn.phpreturn [ 'CHINESE'=>'中...

    2019-11-12 16:25 Read 2049 comment 0
  • win10教育版 代码激活(无需下载工具)

    一、win10教育版激活码KMS命令激活专用 Windows 10 Education:NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 Windows 10 Education N:2WH4N-8QGBV-H22JP-CT43Q-MDWW...

    2019-11-12 15:47 Read 1969 comment 0
  • tp5的一些查询

    //不需要 use app\index\model\Store; $res = model(‘store’)->all(); $res = collection($res)->toArray(); //需要 use app\index\model...

    2019-11-12 15:44 Read 1810 comment 0
  • TP语言包切换功能

    一.配置 1.开启语言包功能 'lang_switch_on' => true,2.支持的语言列表 'lang_list' => ['zh-cn','en-us'],二.语言定义 3.语言定义 框架或模块目录\lang\z...

    2019-11-12 16:25 Read 1765 comment 0
  • 手机端网页所有内容根据屏幕大小自适应(大小,位置)

    rem:rem是一个新的单位,该单位与HTML页面的fontSize有关,一般默认的浏览器的fontSize是16px,因此一般的1rem=16px。 calc():这是一个用于在CSS中计算的函数,只能进行四则运算。 :root 在css中,这是...

    2019-11-12 16:03 Read 1729 comment 0
  • 微信支付开发文档

    https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=7_7开发文档首页 https://pay.weixin.qq.com/wiki/doc/api/index.html

    2019-11-22 09:49 Read 1437 comment 0
  • tp5.1验证码

    首先使用composer安装composer require topthink/think-captcha=2.0.* 页面中使用 ...

    2019-11-12 16:06 Read 1437 comment 0
  • tp5 分页后数据处理

    V5.0.9版本开始 支持分页类后数据直接each遍历处理,方便修改分页后的数据,而不是只能通过模型的获取器来补充字段。$list = User::where('status',1)->paginate()->each(function($item,...

    2019-11-12 16:22 Read 1305 comment 0
  • 快递100接口使用

    //参数设置$com = input('wuliu'); // 快递公司编码$num = input('wlorder'); // 快递单号$post_data = array();$post_data["customer"] = '12345...

    2019-11-12 16:05 Read 1296 comment 0
  • python安装以及使用django搭建项目(windows)

    1.安装python3 https://www.python.org/downloads/ ,下载后安装记得勾选add path 添加环境变量, 安装完打开cmd 输入 python 检验是否安装成功2.安装virtualenv pip ins...

    2019-11-12 16:31 Read 1071 comment 0