|
@@ -2,7 +2,6 @@ import http from '@/http/api.js'
|
|
|
import {bizConst} from './biz/biz.js'
|
|
import {bizConst} from './biz/biz.js'
|
|
|
import {clientId,tenantId} from '@/common/setting'
|
|
import {clientId,tenantId} from '@/common/setting'
|
|
|
|
|
|
|
|
-// 获取token
|
|
|
|
|
const getProfessionalStyleList = () => {
|
|
const getProfessionalStyleList = () => {
|
|
|
return http.request({
|
|
return http.request({
|
|
|
url: bizConst.basicPrefix + '/professional_style/list',
|
|
url: bizConst.basicPrefix + '/professional_style/list',
|
|
@@ -13,7 +12,18 @@ const getProfessionalStyleList = () => {
|
|
|
params: {},
|
|
params: {},
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
+const getProfessionalStyleDetail = () => {
|
|
|
|
|
+ return http.request({
|
|
|
|
|
+ url: bizConst.basicPrefix + '/professional_style/detail',
|
|
|
|
|
+ method: 'GET',
|
|
|
|
|
+ header: {
|
|
|
|
|
+ 'Tenant-Id': tenantId
|
|
|
|
|
+ },
|
|
|
|
|
+ params: {},
|
|
|
|
|
+ })
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
- getProfessionalStyleList
|
|
|
|
|
|
|
+ getProfessionalStyleList,
|
|
|
|
|
+ getProfessionalStyleDetail
|
|
|
}
|
|
}
|