mirror of
https://github.com/mashirozx/sakura.git
synced 2025-05-29 01:49:21 +08:00
13 lines
278 B
TypeScript
13 lines
278 B
TypeScript
import request from '@/utils/http'
|
|
|
|
export default {
|
|
postConfigJson(data: { [key: string]: any }): Promise<any> {
|
|
return request({
|
|
url: '/sakura/v1/config',
|
|
method: 'POST',
|
|
headers: { 'Content-Type': 'application/json' },
|
|
data: data,
|
|
})
|
|
},
|
|
}
|