上一页 1 ··· 82 83 84 85 86 87 88 89 90 ··· 133 下一页
摘要: function curlRequest($url,$mothed, $contentbody,$access_token) { $ch = curl_init(); $header = "Accept-Charset: utf-8"; $header = "Content-Type:applica 阅读全文
posted @ 2020-07-28 11:46 盘思动 阅读(644) 评论(0) 推荐(0)
摘要: 如果是整数类型 可以用digit 类型来取代number, digit maxlength 属性就生效了~ 阅读全文
posted @ 2020-07-24 14:55 盘思动 阅读(195) 评论(0) 推荐(0)
摘要: 最近因公司需要,开发抖音的小程序。下面我总结一下我自己的一些体会,会随时更新。 字节跳动小程序官方文档 https://microapp.bytedance.com/homepage 可在抖音最上方的搜索页面,通过扫一扫扫描之后进入小程序 1. 抖音小程序编辑器(字节跳动开发者工具) 编辑器功能尚不 阅读全文
posted @ 2020-07-22 14:07 盘思动 阅读(1013) 评论(0) 推荐(0)
摘要: 1.获取微信开放功能的基础参数配置,类似分享功能,定位功能也都需要获取改参数, 注意:需要配置授权域名链接 需要配置ip白名单 <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></ 阅读全文
posted @ 2020-07-17 15:44 盘思动 阅读(4163) 评论(0) 推荐(0)
摘要: #查看redis密码 可查看 redis 安装根目录下的配置文件:redis-conf 中 requirepass 后面的内容。 启动redis: /etc/init.d/redis start 关闭redis: redis-cli shutdown 阅读全文
posted @ 2020-07-16 15:02 盘思动 阅读(412) 评论(0) 推荐(0)
摘要: //ok header(‘HTTP/1.1 200 OK'); //设置一个404头: header(‘HTTP/1.1 404 Not Found'); //设置地址被永久的重定向 header(‘HTTP/1.1 301 Moved Permanently'); //转到一个新地址 header 阅读全文
posted @ 2020-07-13 17:14 盘思动 阅读(359) 评论(0) 推荐(0)
摘要: public function ggg(){ $s = $this->cny('122'); echo $s; //壹佰贰拾贰元 } /*** *人民币大写转化;~~~ */ private function cny($ns) { static $cnums = array("零","壹","贰", 阅读全文
posted @ 2020-07-09 18:28 盘思动 阅读(243) 评论(0) 推荐(0)
摘要: <?php $a1=array("a"=>"red","b"=>"green","c"=>"blue","d"=>"yellow"); $result=array_flip($a1); print_r($result); ?> 阅读全文
posted @ 2020-07-08 20:24 盘思动 阅读(381) 评论(0) 推荐(0)
摘要: // 获取access_token public function _get_access_token() { $key = C('DB_NAME') . "_access_token_".C('APP_ID'); $red = Red::create(); if ($red->get($key)) 阅读全文
posted @ 2020-07-07 15:00 盘思动 阅读(1151) 评论(0) 推荐(0)
摘要: <!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>art-template例子</title> <script src="art-template.js"></script> </head> <body> <div id="con 阅读全文
posted @ 2020-07-02 15:22 盘思动 阅读(642) 评论(0) 推荐(0)
上一页 1 ··· 82 83 84 85 86 87 88 89 90 ··· 133 下一页