|
@@ -13,12 +13,14 @@ export const getRandomKey = () => {
|
|
|
|
|
|
export const musicBuy = (item: any, callBack?: any, moreQuery = {}) => {
|
|
|
const behaviorId = localStorage.getItem('behaviorId') || ''
|
|
|
+ // 酷乐秀云教练的部署目录
|
|
|
+ const musicScorePath = "/gym-music-score/";
|
|
|
const url = qs.stringifyUrl({
|
|
|
- url: location.origin + '/accompany',
|
|
|
+ url: location.origin + musicScorePath,
|
|
|
query: {
|
|
|
id: item.id,
|
|
|
behaviorId,
|
|
|
- client: browserInfo.isStudent ? 'student' : 'teacher',
|
|
|
+ systemType: browserInfo.isStudent ? 'student' : 'teacher',
|
|
|
...moreQuery
|
|
|
}
|
|
|
})
|