上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: /** * 获取微信access_token * * @param [type] $data * @return void */ public function getAccessTokenWX($data) { $appid=trim($data['appid']); $appsec=trim($ 阅读全文
posted @ 2020-03-15 21:53 PHP小媛 阅读(1008) 评论(0) 推荐(0)
摘要: protected function getPagesByLists($page, $base_url = null, $current_page=1) { $ret=[]; $is_search_page = false; // $is_search_page = true; for($i=1;$ 阅读全文
posted @ 2020-02-27 16:02 PHP小媛 阅读(342) 评论(0) 推荐(0)
摘要: protected function getPagesByLists($page, $base_url = null, $current_page=1) { $ret=[]; $is_search_page = false; // $is_search_page = true; for($i=1;$ 阅读全文
posted @ 2020-02-27 15:59 PHP小媛 阅读(261) 评论(0) 推荐(0)
摘要: <?php $site_code='property'; $common = [ 'API_HOST_V3'=>'http://10.1.118.12:83/apiv3.json' ,'SITE_CODE'=>'CP']; $api_v3 = 'http://10.1.118.12:83/apiv3 阅读全文
posted @ 2020-02-23 21:05 PHP小媛 阅读(319) 评论(0) 推荐(0)
摘要: public function get_wx_access_token() { //将access_token存在session/cookie中 //如果access_token在session中并没有过期 if (isset($_SESSION['access_token']) && $_SESS 阅读全文
posted @ 2020-02-17 21:04 PHP小媛 阅读(509) 评论(0) 推荐(0)
摘要: <?php /** * Created by PhpStorm. * User: s * Date: 2018/11/3 * Time: 8:33 */ class PdoClass { protected $_pdo; public function __construct() { $this-> 阅读全文
posted @ 2020-02-17 20:02 PHP小媛 阅读(233) 评论(0) 推荐(0)
摘要: <?php /** * Created by PhpStorm. * User: s * Date: 2018/11/20 * Time: 10:07 */ class CurlClass { protected $_pdo; public function __construct() { $thi 阅读全文
posted @ 2020-02-17 19:56 PHP小媛 阅读(202) 评论(0) 推荐(0)
摘要: protected function getPagesByLists($page, $base_url = null, $current_page=1) { $ret=[]; $is_search_page = false; // $is_search_page = true; for($i=1;$ 阅读全文
posted @ 2020-02-13 15:55 PHP小媛 阅读(147) 评论(0) 推荐(0)
摘要: M('tablename')->where("id in (1,2,3,4,5)")->delete(); // 删除tablename 表中id 为1,2,3,4,5 的5条数据。要批量删除,改一下where 调教就行了 public function batCreatePlace($data) 阅读全文
posted @ 2019-11-24 18:29 PHP小媛 阅读(512) 评论(0) 推荐(0)
摘要: 后端: 前端: 阅读全文
posted @ 2019-10-13 19:06 PHP小媛 阅读(1301) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 11 下一页