获取器 获取器的作用是在获取数据的字段值后自动进行处理,例如,我们需要对状态值进行转换,可以使用: class User extends Model { public function getStatusAttr($value) { $status = [-1=>'删除',0=>'禁用',1=>'正 ...
分类:
其他好文 时间:
2021-01-12 10:30:45
阅读次数:
0
If a file is larger than 5MB size limit for pushing t, the files must be tracked and updated using git lfs. Note: Please follow the instructions here( ...
分类:
其他好文 时间:
2021-01-11 10:39:35
阅读次数:
0
gradle根据Git信息生成README文件 task createReadMe{ doLast { // String str = "${buildDir}/libs/exploded/"+project.getName().toString()+ "-${version}.war"+"/REA ...
分类:
其他好文 时间:
2021-01-08 11:42:16
阅读次数:
0
StringBuilder package com.keytech.task; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.conc ...
分类:
其他好文 时间:
2021-01-08 11:28:26
阅读次数:
0
1.1 SpringMVC 概述 1) Spring 为展现层提供的基于 MVC 设计理念的优秀的 Web 框架,是目前最主流的MVC 框架之一 2)Spring3.0 后全面超越 Struts2,成为最优秀的 MVC 框架。 3)Spring MVC 通过一套 MVC 注解,让 POJO 成为处理 ...
分类:
编程语言 时间:
2021-01-08 11:16:46
阅读次数:
0
1、 Debug 调试 2、 Test case 测试用例 3、 Siral model 螺旋模型 4、 Software life cycle 软件生命周期 5、 Initial 初始级 6、 Repeatable 可重复级 7、 Defined 已定义级 8、 Managed 已管理级 9、 O ...
分类:
其他好文 时间:
2021-01-07 12:20:02
阅读次数:
0
Handler使用详解 1. 简单实现 1.1 基础知识 void handleMessage(Message msg); 处理消息的方法,通常是用于被重写! sendEmptyMessage(int what); 发送空消息 sendEmptyMessageDelayed(int what,lon ...
分类:
其他好文 时间:
2021-01-07 12:04:03
阅读次数:
0
有用的包资源: 核心 Django : Web 框架。 django-debug-toolbar : 显示面板用于调试 Django HTML 视图。 django-model-utils : 很有用的数据模型工具,包含一个时间戳数据模型。 ipdb : IPython pdb。 Pillow : ...
分类:
其他好文 时间:
2021-01-07 11:42:46
阅读次数:
0
提示:Unable to start adb server: error: protocol fault (couldn't read status): Connection reset by peer问题原因:大多数情况是5037端口被占用。5037为adb默认端口。解决办法:查看哪个程序占用了a ...
分类:
其他好文 时间:
2021-01-06 12:06:11
阅读次数:
0
目录: 1、mvc和springmvc介绍 1.1、JAVAEE体系结构 1.2、mvc设计模式 model 1 model 2 1.3、Springmvc是什么 Springmvc是一个web层mvc框架,类似struts2。Springmvc是spring的一部分 2、Springmvc执行流程 ...
分类:
编程语言 时间:
2021-01-06 11:52:21
阅读次数:
0