<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 特殊字段 * 默認`開關`字段: * status * 默認`忽略`字段: * update\_time * delete\_time # 以特殊字符結尾的規則 * 默認`單圖片`字段后綴: * image * logo * photo * icon * 默認`多圖片`字段后綴: * images * photos * icons * 默認`單文件`字段后綴: * file * 默認`多文件`字段后綴: * files # 注釋說明 類型和數據可以通過特殊字符進行定義, 例如:`性別 {radio} (1:男, 2:女, 0:未知)`, 代表的就是單選框, 數據集合為:`['1'=>'男','2'=>'女','0'=>'未知']`。 ### 字符說明 * 類型: * `{}`包起來, 例如:`{radio}` * 數據集: * `()`包起來, 例如:`(1:男, 2:女, 0:未知)` ### 類型大全 | 類型 | 說明 | 備注 | | --- | --- | --- | | text | 普通文本框 | | | image | 單圖片 | | | images | 多圖片 | | | file | 單文件 | | | files | 多文件 | | | date | 時間組件 | 需配合`數據集`使用,時間控件類型選擇 | | editor | 富文本 | | | textarea | 普通文本 | | | select | 下拉選擇 | 需配合`數據集`使用 | | switch | 開關組件 | 需配合`數據集`使用 | | checkbox | 多選框 | 需配合`數據集`使用 | | radio | 單選框 | 需配合`數據集`使用 | ### 完整示例 ~~~ CREATE TABLE `ea_test_goods` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID', `sex` int(11) DEFAULT '1' COMMENT '性別 {radio} (1:男, 2:女, 0:未知)', `checkbox` int(11) DEFAULT '1' COMMENT '測試多選 {checkbox} (1:選擇1, 2:選擇2, 3:選擇3)', `mode` int(11) DEFAULT '1' COMMENT '購買模式 {select} (1:正常購買, 2:秒殺活動)', `cate_id` int(11) DEFAULT NULL COMMENT '分類ID {select}', `title` varchar(20) NOT NULL COMMENT '商品名稱', `logo` varchar(500) DEFAULT NULL COMMENT '商品logo {image}', `images` text COMMENT '商品圖片 {images} (|)', `describe` text COMMENT '商品描述', `market_price` decimal(10,2) DEFAULT '0.00' COMMENT '市場價', `discount_price` decimal(10,2) DEFAULT '0.00' COMMENT '折扣價', `sales` int(11) DEFAULT '0' COMMENT '銷量', `virtual_sales` int(11) DEFAULT '0' COMMENT '虛擬銷量', `stock` int(11) DEFAULT '0' COMMENT '庫存', `total_stock` int(11) DEFAULT '0' COMMENT '總庫存', `test_datetime` datetime DEFAULT NULL COMMENT '測試完整時間{date}(datetime)', `up_date` datetime DEFAULT NULL COMMENT '上架時間{date}(date)', `sort` int(11) DEFAULT '0' COMMENT '排序', `status` tinyint(1) unsigned DEFAULT '1' COMMENT '狀態 {radio} (0:禁用,1:啟用)', `remark` varchar(255) DEFAULT NULL COMMENT '備注說明', `create_time` int(11) DEFAULT NULL COMMENT '創建時間', `update_time` int(11) DEFAULT NULL COMMENT '更新時間', `delete_time` int(11) DEFAULT NULL COMMENT '刪除時間', PRIMARY KEY (`id`), KEY `cate_id` (`cate_id`) ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='商品列表'; ~~~ ~~~ CREATE TABLE `ea_test_cate` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(20) NOT NULL COMMENT '分類名', `image` varchar(500) DEFAULT NULL COMMENT '分類圖片 {image}', `sort` int(11) DEFAULT '0' COMMENT '排序 {sort}', `status` tinyint(1) unsigned DEFAULT '1' COMMENT '狀態 {switch} (0:禁用,1:啟用)', `remark` varchar(255) DEFAULT NULL COMMENT '備注說明', `create_time` int(11) DEFAULT NULL COMMENT '創建時間', `update_time` int(11) DEFAULT NULL COMMENT '更新時間', `delete_time` int(11) DEFAULT NULL COMMENT '刪除時間', PRIMARY KEY (`id`), UNIQUE KEY `title` (`title`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='商品分類'; ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看