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