encryptApiList.js 3.4 KB
Newer Older
钟是志's avatar
钟是志 committed
1 2 3 4 5 6 7 8
const encryptApiList = [
  {
    api: 'DataColumnApi/getOptions',
    key: ['filterSql'],
  },
  {
    api: 'UnifiedServicePatternApi/updateForm',
  },
钟是志's avatar
钟是志 committed
9 10 11
  {
    api: 'getApis',
  },
钟是志's avatar
钟是志 committed
12 13 14
  {
    api: 'UnifiedServicePatternApi/getDetail',
  },
钟是志's avatar
钟是志 committed
15 16 17
  {
    api: 'SqlManageEntityApi/add',
  },
钟是志's avatar
钟是志 committed
18 19 20
  {
    api: 'SqlManageEntityApi/find',
  },
21 22 23
  {
    api: 'DataObjApi/addFormData',
  },
24 25 26
  {
    api: 'DataObjApi/exportCurr',
  },
27 28 29
  {
    api: 'DataColumnApi/add',
  },
30 31 32
  {
    api: 'UnifiedAppApi/getDetail',
  },
33 34 35 36 37 38
  {
    api: 'UnifiedServiceApi/getDetail',
  },
  {
    api: 'UnifiedAppFormApi/getFormDetail',
  },
钟是志's avatar
钟是志 committed
39 40 41
  {
    api: 'UnifiedAppFormApi/getWaitPage',
  },
钟是志's avatar
钟是志 committed
42 43 44 45 46 47 48 49 50
  {
    api: 'UnifiedAppFormApi/getHandledPage',
  },
  {
    api: 'UnifiedAppFormApi/getApplyPage',
  },
  {
    api: 'UnifiedAppFormApi/getDraftPage',
  },
钟是志's avatar
钟是志 committed
51 52 53 54 55 56
  {
    api: 'UnifiedWebPatternApi/save',
  },
  {
    api: 'UnifiedWebPatternApi/getDetail',
  },
57 58 59
  {
    api: '/CmsApi/',
  },
钟是志's avatar
钟是志 committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
  {
    api: 'DataColumnApi/getLabels',
    key: ['allValues'],
    filterEmpty: ['allValues'],
    setNull: true, // 置空这个字段
  },
  {
    api: 'DataColumnApi/getSqlOptions',
    key: ['allValues', 'sqlKey'],
    filterEmpty: ['allValues'],
    query: true, // 调另外一个接口查询这个的替换值
  },
  {
    api: 'DataColumnApi/getSqlLabels',
    key: ['allValues'],
    filterEmpty: ['allValues'],
    query: true,
  },
  {
    api: 'DataColumnApi/getSqlData',
    key: ['allValues', 'sqlKey'],
    filterEmpty: ['sqlKey'],
    query: true,
  },
  {
    api: 'DataColumnApi/getSqlColumn',
    key: ['json'],
  },
  {
    api: 'DataRightApi/add',
    key: ['filterSql'],
    // filterEmpty: ['filterSql'],
  },
  {
    api: 'DataRightApi/addBatch',
    key: ['filterSql'],
  },
  {
    api: 'DataObjApi/add',
    key: ['sqlScript'],
  },
  {
    api: 'DataObjApi/getFormDataList',
    key: ['custom'],
  },
  {
    api: 'DataObjApi/exportWord',
    key: ['params'],
  },
  {
    api: 'DataObjApi/getFormDataPage',
    key: ['sql', 'custom'],
    filterEmpty: ['sql', 'custom'],
    yinShe: {
      sql: 's',
      query: 'chaxun',
      querys: 'chaxuns',
      sorter: 'paixu',
      orders: 'paixus',
    },
  },
  {
    api: 'UserApi/getPage',
    key: ['addSignSql'],
  },
  {
    api: 'UnifiedAppFormApi/examineProcess',
    key: ['taskForm'],
  },
  {
    api: 'UnifiedAppFormApi/saveDraft',
    key: ['content'],
  },
  {
    api: 'UnifiedAppFormApi/startProcess',
    key: ['content'],
  },
  {
    api: 'UnifiedAppFormApi/startProcessByService',
    key: ['content'],
  },
  {
    api: 'UnifiedAppFormApi/getHandleUser',
    key: ['content'],
  },
  {
    api: 'SqlManageEntityApi/findParamsKey',
    key: ['sqlKey'],
  },
钟是志's avatar
钟是志 committed
149 150 151
  {
    api: 'UnifiedAppGroupApi/getList',
  },
钟是志's avatar
钟是志 committed
152 153 154 155
  {
    api: 'UnifiedServiceApi/config', // 禅道 25034 宿舍管理/宿舍维修审核,2021030576L 加个字段 做个字段排序
    key: ['config'],
  },
156 157 158
  {
    api: 'UnifiedAppFormApi/exportData',
  },
钟是志's avatar
钟是志 committed
159 160
];

钟是志's avatar
钟是志 committed
161 162 163 164
const resBinaryApiList = [
  {
    api: 'UnifiedAppApi/getDetail',
  },
165 166 167
  {
    api: 'DataColumnApi/getHeaderList',
  },
钟是志's avatar
钟是志 committed
168 169 170 171 172 173
  {
    api: 'UnifiedServiceApi/getDetail',
  },
  {
    api: 'UnifiedAppFormApi/getFormDetail',
  },
钟是志's avatar
钟是志 committed
174 175 176 177 178 179
  {
    api: 'UnifiedServicePatternApi/getDetail',
  },
  {
    api: 'SqlManageEntityApi/find',
  },
钟是志's avatar
钟是志 committed
180 181 182
  {
    api: 'getApis',
  },
钟是志's avatar
钟是志 committed
183 184 185
  {
    api: 'UnifiedAppGroupApi/getList',
  },
钟是志's avatar
钟是志 committed
186 187 188
  {
    api: 'UnifiedWebPatternApi/getDetail',
  },
189

钟是志's avatar
钟是志 committed
190
];
钟是志's avatar
钟是志 committed
191 192 193

export { resBinaryApiList };

钟是志's avatar
钟是志 committed
194
export default encryptApiList;