自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(4)
  • 资源 (1)
  • 收藏
  • 关注

原创 shell scp 需要输入密码

需要用到expectyum -y install expect方案一#!/usr/bin/expectspawn scp /java.zip root@192.168.0.1:/usr/local/expect "*password"send "123456\r"expect eof方案二#! /bin/shexpect -c " spawn scp /java.zip root@192.168.0.1:/usr/local/ expect { \"pass

2021-04-06 18:50:57 167

原创 docker 启动的疑难杂症

[root@localhost ~]# docker run hello-wordUnable to find image 'hello-word:latest' locallydocker: Error response from daemon: Get https://registry-1.docker.io/v2/library/hello-word/manifests/latest:...

2019-08-01 12:06:38 169

原创 微信素材管理接口 基于TP5

class Material extends Controller{ //微信素材相关url private $materialUrl = [ //上传素材列表 'upload' => 'https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=%s&...

2019-07-29 15:31:04 171

原创 解决微信返回码"errcode":40113,"errmsg":"unsupported file type"或 errcode":41005,"errmsg":"media data missing

最近公司需求在后台管理公司的文件素材,要用到新增永久素材,看了下文档,简单粗暴。导致出现大量的40113和41005问题网上找了很多资料,都说是curl的问题,实际上是数据结构的问题,我使用旧版本的curl上传一点毛病都没有。我的php版本是7.2,直接上代码//tmp_name 文件的绝对路径//type 文件类型//name 文件名称$data= ['med...

2019-07-29 10:52:54 2638

thinkPHP框架

thinkphp框架,欢迎大家下载,官网有时候下载不方便

2013-11-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除