text: import fetch from '@/config/fetch'
  
  /**
   * 取得砍价游戏基本信息
   * @param {*} data - game_round_id，game_player_id
   */
  
  var basePath = '/gapi/games/memory'
  
  export const getInfo = ( number, data) => fetch(basePath + '/' + number + '/getInfo', data, 'POST')
  
  export const postMsg = ( number, data) => fetch(basePath + '/' + number + '/addPlayer', data, 'POST')
  
  export const setAchievebycode = ( number, data) => fetch(basePath + '/' + number + '/setAchieveBySpeed', data, 'POST')
  
  export const getRanking = ( number, data) => fetch(basePath + '/' + number + '/getRanking', data, 'POST')
  
  export const getRoundState = ( number, data) => fetch(basePath + '/' + number + '/getRoundState', data, 'POST')
  