import request from '@/sheep/request';

const TradeConfigApi = {
  // 获得交易配置
  getTradeConfig: (userId) => {
    return request({
      url: `/trade/config/get`,
	  params: {
	    userId,
	  },
	  custom: {
	    auth: false,
	    showLoading: false,
	  },
      method: 'GET',
    });
  },
};

export default TradeConfigApi;
