wolyshaw 2 years ago
parent
commit
e583071b8a
2 changed files with 321 additions and 317 deletions
  1. 4 0
      src/views/music/music.ts
  2. 317 317
      yarn.lock

+ 4 - 0
src/views/music/music.ts

@@ -2,6 +2,9 @@ import { orderStatus } from '@/views/order-detail/orderStatus'
 import { postMessage } from '@/helpers/native-message'
 import { Dialog } from 'vant'
 import qs from 'query-string'
+import { browser } from '@/helpers/utils'
+
+const browserInfo = browser()
 
 export const getRandomKey = () => {
   const key = '' + new Date().getTime() + Math.floor(Math.random() * 1000000)
@@ -15,6 +18,7 @@ export const musicBuy = (item: any, callBack?: any, moreQuery = {}) => {
     query: {
       id: item.id,
       behaviorId,
+      client: browserInfo.isTeacher ? 'teacher' : 'student',
       ...moreQuery
     }
   })

File diff suppressed because it is too large
+ 317 - 317
yarn.lock


Some files were not shown because too many files changed in this diff