import { request } from 'umi' ; export async function queryTags ( params ) { return request ( 'tags' , { params , } ) ; } export async function storeTag ( params ) { return request ( 'tags' , { method : 'POST' , data : params , } ) ; } export async function updateTag ( id , data ) { return request ( `tags/${ id }` , { method : 'PUT' , data , } ) ; }