项目初始化
This commit is contained in:
20
sheep/api/trade/config.js
Normal file
20
sheep/api/trade/config.js
Normal file
@@ -0,0 +1,20 @@
|
||||
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;
|
Reference in New Issue
Block a user