Kaynağa Gözat

接口信息管理

lidongyu 1 yıl önce
ebeveyn
işleme
b5390a6e86

+ 25 - 0
mybusiness/src/main/resources/templates/system/interfaceinfo/interfaceinfo.html

@@ -34,6 +34,16 @@
                             <label>接口地址:</label>
                             <input type="text" name="interfaceAddress"/>
                         </li>
+
+                        <li>
+                            <label>接口状态:</label>
+                            <select name="status">
+                                <option value="">所有</option>
+                                <option value="0">启动</option>
+                                <option value="1">禁用</option>
+                            </select>
+
+                        </li>
                         <!--<li>
                             <label>IAM方式:</label>
                             <input type="text" name="typeIam"/>
@@ -152,6 +162,21 @@
                     title: '接口地址'
                 },
                 {
+                    field: 'callsuccnum',
+                    title: '成功次数'
+                },
+                {
+                    field: 'callfailnum',
+                    title: '失败次数',
+                },
+                {
+                    // field: 'totalNum',
+                    title: '接口调用总次数',
+                    formatter: function (value, row, index) {
+                        return row.callsuccnum + row.callfailnum;
+                    }
+                },
+                {
                     visible: editFlag == 'hidden' ? false : true,
                     title: '接口状态',
                     align: 'center',