fill-in.api.js 496 B

12345678910
  1. const http = uni.$u.http
  2. // 获取查获地点列表
  3. export const getSafeThingsAddressList = (custom = {}) => http.get('app/safeThing/getSafeThingsAddressList', null, { custom })
  4. // 获取事件类型列表
  5. export const getSafeThingsTypeList = (custom = {}) => http.get('app/safeThing/getSafeThingsTypeList', null, { custom })
  6. // 安全事件 添加修改
  7. export const add = (params, custom = {}) => http.post('app/safeThing/submitSafeThings', params, { custom: { ...custom, type: 'json' } })