10 2017 档案
摘要:1.在代码没有错的情况下,检查是否为香港服务器,如果是香港服务器原因如下
阅读全文
摘要://在视图中引入方法 $pages, 'nextPageLabel' => '下一页', 'prevPageLabel' => '上一页', 'firstPageLabel' => false, 'lastPageLabel' => false, ]); ?> //方法中的写法 $order = AdminShopOrders::find(); $pagina...
阅读全文
摘要:function Getzimu($str) { $str= iconv("UTF-8","gb2312", $str);//如果程序是gbk的,此行就要注释掉 if (preg_match("/^[\x7f-\xff]/", $str)) { $fchar=ord($str{0}); if($fchar>=ord("A") and $fc...
阅读全文
摘要:https://m.kuaidi100.com/query?rand={$time}&type={$keywords}&fromWeb=null&postid={$order}type:快递编号 例如 圆通快递:yuantong;postid:快递编号;
阅读全文
摘要:无需下载API 1.想用弹框显示需要引入以下js <script src="http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script> <script type="text/javascript"> var obj
阅读全文
摘要:1.下载官方的API(保留其中的API集成文件) 2.html页面(<a href='<?=Url::toRoute('/user/qqoauth')?>'></a>); 3.控制器: public function actionQqoauth(){ require_once("frontend/w
阅读全文
浙公网安备 33010602011771号