摘要: Model(base) 阅读全文
posted @ 2018-12-10 15:19 Gupq 阅读(926) 评论(0) 推荐(0)
摘要: Model public function tree() 阅读全文
posted @ 2018-12-10 15:10 Gupq 阅读(810) 评论(0) 推荐(0)
摘要: TP5自带保存时间 $protected $autoWriteTimestamp = true; 获取新插入数据的ID $id = Db::name('user')->getLastInsID(); 阅读全文
posted @ 2018-12-10 15:02 Gupq 阅读(94) 评论(0) 推荐(0)
摘要: Config.php里面 'url_common_param' => ture, 阅读全文
posted @ 2018-12-10 15:01 Gupq 阅读(163) 评论(0) 推荐(0)
摘要: 01/https://blog.csdn.net/haibo0668/article/details/78320500 02/http://www.cnblogs.com/zxf100/p/7908659.html 阅读全文
posted @ 2018-12-10 15:00 Gupq 阅读(111) 评论(0) 推荐(0)
摘要: 1-商品详情Detail/index 2-订单确定 Order/confirm 3-订单入库Order/index 4-页面控制器生成二维码,页面支付,页面定时任务 Pay/index 5-微信回调 更改订单表状态 weixinPay/notify 6-跳转成功 pay/paysuccess 阅读全文
posted @ 2018-12-10 14:59 Gupq 阅读(389) 评论(0) 推荐(0)
摘要: $_SERVER['SERVER_NAME'];//获取来源网址,即点击来到本页的上页网址 $_SERVER["HTTP_REFERER"]; //获取上一页面域名的后缀 $_SERVER['REQUEST_URI'];//获取当前域名的后缀 $_SERVER['HTTP_HOST'];//获取当前 阅读全文
posted @ 2018-12-10 14:58 Gupq 阅读(3897) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-12-10 14:57 Gupq 阅读(173) 评论(0) 推荐(0)
摘要: Db::name("table")->where("XXXX")->paginate(10,false,['query'=>request()->param()]); 阅读全文
posted @ 2018-12-10 14:57 Gupq 阅读(191) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-12-10 14:55 Gupq 阅读(168) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-12-10 14:54 Gupq 阅读(478) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-12-10 14:53 Gupq 阅读(258) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-12-10 14:50 Gupq 阅读(170) 评论(0) 推荐(0)