wolyshaw 2 gadi atpakaļ
vecāks
revīzija
e583071b8a
2 mainītis faili ar 321 papildinājumiem un 317 dzēšanām
  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
     }
   })

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 317 - 317
yarn.lock


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels