dever 4 years ago
parent
commit
ccec24d109
1 changed files with 10 additions and 0 deletions
  1. 10 0
      database/pic_crop.php

+ 10 - 0
database/pic_crop.php

@@ -109,6 +109,16 @@ return array
 			'list'		=> 'date("Y-m-d H:i:s", {cdate})',
 		),
 	),
+
+	# 默认值
+	'default' => array
+	(
+		'col' => 'name,type,width,height,state,cdate',
+		'value' => array
+		(
+			'"300*300",5,"300","300",1,' . time(),
+		),
+	),
 	# request 请求接口定义
 	'request' => array
 	(