上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: composer require firebase/php-jwt public function getToken() { $key = config('wx.jwt_key'); //这里是自定义的一个随机字串,应该写在config文件中的,解密时也会用,相当 于加密中常用的 盐 salt $t 阅读全文
posted @ 2020-08-03 10:44 CanyingV 阅读(468) 评论(0) 推荐(0)
摘要: {$product.desc|raw} 阅读全文
posted @ 2020-08-03 10:09 CanyingV 阅读(397) 评论(0) 推荐(0)
摘要: fatal: in unpopulated submodule 'vendor/ric/thinkphp6-apidoc' 因为/thinkphp6-apidoc是从另一个第三方的仓库克隆的,在执行git add的时候"fatal: in unpopulated submodule/thinkphp 阅读全文
posted @ 2020-08-01 13:19 CanyingV 阅读(380) 评论(0) 推荐(0)
摘要: <?php namespace app\api\model; use think\Model; class Dfp extends Model { protected $name = 'dw_dfp'; public function user() { return $this->belongsTo 阅读全文
posted @ 2020-07-31 16:48 CanyingV 阅读(120) 评论(0) 推荐(0)
摘要: $xml_message=file_get_contents("php://input"); $postArr=simplexml_load_string($xml_message,"SimpleXMLElement",LIBXML_NOCDATA); $toUserName=$postArr->T 阅读全文
posted @ 2020-07-28 16:25 CanyingV 阅读(152) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/web_csdn_share/article/details/79243308 https://learnku.com/articles/53752 在当前目录新建一个Git代码库 git init 下载一个项目和它的整个代码历史 git clone [u 阅读全文
posted @ 2020-07-18 09:51 CanyingV 阅读(94) 评论(0) 推荐(0)
摘要: git bash 进入.git文件夹 git config --global credential.helper store git config credential.helper store --global 参数为全局设定,可不加 设置后,第一次拉取或推送需要密码,之后就不要了 重新装git后 阅读全文
posted @ 2020-07-18 09:43 CanyingV 阅读(153) 评论(0) 推荐(0)
摘要: 1 html <img src="{:captcha_src()}" alt="captcha" onclick="this.src='{:captcha_src()}?'+Math.random()" style="height: 40px; width: 140px"/> 2. 控制器验证 $d 阅读全文
posted @ 2020-07-15 11:18 CanyingV 阅读(108) 评论(0) 推荐(0)
摘要: 1 mysql 2 js {field: 'switch', title: __('Switch'), searchList: {"1":__('Yes'),"0":__('No')}, table: table, formatter: Table.api.formatter.toggle} 3 a 阅读全文
posted @ 2020-07-13 15:16 CanyingV 阅读(614) 评论(0) 推荐(0)
摘要: 1 mysql 2 js {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image} 3 add.html <div class="form-gr 阅读全文
posted @ 2020-07-13 15:14 CanyingV 阅读(337) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 下一页