|
@@ -1,6 +1,7 @@
|
|
|
import axios from './instance'
|
|
|
import { TAGGING_LIST } from './constant'
|
|
|
import { fetchTaggings } from './tagging'
|
|
|
+import { params } from '@/env'
|
|
|
|
|
|
export interface TaggingStyle {
|
|
|
id: string
|
|
@@ -13,10 +14,11 @@ export type TaggingStyles = TaggingStyle[]
|
|
|
|
|
|
export const getTaggingStyles = async () => {
|
|
|
// axios.post<TaggingStyles>(TAGGING_LIST)
|
|
|
+
|
|
|
return [
|
|
|
{
|
|
|
id: '1',
|
|
|
- icon: 'static/img_default/lQLPDhrvVzvNvTswMLAOU-UNqYnnZQG1YPJUwLwA_48_48.png',
|
|
|
+ icon: params.baseURL + '/profile/static/img_default/lQLPDhrvVzvNvTswMLAOU-UNqYnnZQG1YPJUwLwA_48_48.png',
|
|
|
name: '111',
|
|
|
default: true
|
|
|
}
|