上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 32 下一页
摘要: 代码 阅读全文
posted @ 2019-09-21 10:40 jiuchen 阅读(241) 评论(0) 推荐(0) 编辑
摘要: MD5 阅读全文
posted @ 2019-09-21 10:36 jiuchen 阅读(155) 评论(0) 推荐(0) 编辑
摘要: base64上传 单图 <html> <head> <style type="text/css"> .thumb-image{ float:left;width:100px; position:relative; padding:5px; } </style> </head> <body> <scr 阅读全文
posted @ 2019-09-18 21:49 jiuchen 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 递归 定义:递归包括递进和回归 递归深度 查看 def foo(n): print(n) n=n+1 foo(n) foo(1) 修改 import sys print(sys.setrecursionlimit(100000)) 案例 示例1 list2 = [11, 22, [33, 44], 阅读全文
posted @ 2019-09-14 19:29 jiuchen 阅读(145) 评论(0) 推荐(0) 编辑
摘要: GridView插件 行内文本编辑 后端 if (Yii::$app->request->post('hasEditable')) { $id = Yii::$app->request->post('editableKey'); $model = ModulePosition::findOne($i 阅读全文
posted @ 2019-09-12 10:49 jiuchen 阅读(446) 评论(0) 推荐(0) 编辑
摘要: toastr 参考 https://www.cnblogs.com/fu-yong/p/8609597.html prettyPhoto使用 参考 阅读全文
posted @ 2019-09-11 14:34 jiuchen 阅读(695) 评论(0) 推荐(0) 编辑
摘要: Django admin使用 admin app Django提供了基于web的管理工具 django自动管理工具是django.contrib的一部分,你可以在项目中settings.py中INSTALLED_APP中看到它。 setings.py中 INSTALLED_APPS = [ 'dja 阅读全文
posted @ 2019-09-05 13:21 jiuchen 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 基于数据提供者 public function actionIndex() { $page = Yii::$app->get('page', 0); $modelClass = $this->modelClass; return new ActiveDataProvider( [ 'query' = 阅读全文
posted @ 2019-09-05 11:37 jiuchen 阅读(578) 评论(0) 推荐(0) 编辑
摘要: 插入时间 public function beforeSave($insert) { $this->created_at=time(); return parent::beforeSave($insert); // TODO: Change the autogenerated stub } 钩子函数 阅读全文
posted @ 2019-09-04 16:42 jiuchen 阅读(839) 评论(0) 推荐(0) 编辑
摘要: 配置默认php 多版本支持 配置php7专用composer70 配置启动文件 配置执行权限 其他问题 1.安全因素禁用php函数,需要在php.ini中搜索disable_functions,删除被禁用的函数, 常见的有proc_open,putenv 阅读全文
posted @ 2019-09-04 11:01 jiuchen 阅读(136) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 32 下一页