上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 36 下一页
摘要: //添加关联赠品(确定) public function addGiveGoods($ids,$child,$parent_sku_no){ $license=new LicenseModel(); $personnel_code=$_SESSION['user']['personnel_code']; $time=date("Y-... 阅读全文
posted @ 2018-05-25 09:22 邹柯 阅读(590) 评论(0) 推荐(0) 编辑
摘要: 1.准备编译环境 2.下载 Python3.5代码包 3.做软链: 4.升级pip到最新版本: 注:--no-check-certificate 表示安装时“不检查证书”,不加上可能无法安装。 5.安装requests包: 6.安装pyquery包: 7.安装pymysql包: 6.安装django 阅读全文
posted @ 2018-04-22 22:54 邹柯 阅读(932) 评论(0) 推荐(1) 编辑
摘要: switch ($type){ case 'day'://当日 $end=date('Y-m-d H:i:s',mktime(0,0,0,date('m'),date('d')+1,date('Y'))); $where=' and '.$pre.'create_time>="'.date('Y-m-d').'" and '.$pre.'create_ti... 阅读全文
posted @ 2018-04-22 12:37 邹柯 阅读(314) 评论(0) 推荐(0) 编辑
摘要: switcher ={ 0:'sunday', 1:'monday', 2:'thuesday' } day = 0 day_name=switcher.get(day,'Unknow') print(day_name) # sunday def get_sunday(): return 'sunday' def get_monday(): retur... 阅读全文
posted @ 2018-04-21 21:05 邹柯 阅读(243) 评论(0) 推荐(0) 编辑
摘要: # map #reduce # filter # 装饰器 阅读全文
posted @ 2018-04-21 16:25 邹柯 阅读(184) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 36 下一页