import { request } from 'umi' ; export async function fetchSensitiveWords ( ) { return request ( 'sensitive_words' ) ; } export async function updateSensitiveWords ( data ) { return request ( 'sensitive_words' , { method : 'put' , data , } ) ; }