feat:性能优化
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
import request from '@/utils/request.js'; // 引入封装的方法
|
||||
|
||||
// 查询绑定的银行卡
|
||||
export function getBankList(data) {
|
||||
// return request.post('/common/getSmsCode',qs.stringify(params));
|
||||
return request({
|
||||
url: "/bankcard/getList",
|
||||
method: "get",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 绑定银行卡
|
||||
export function bindBank(data) {
|
||||
// return request.post('/common/getSmsCode',qs.stringify(params));
|
||||
return request({
|
||||
url: "/bankcard/bind",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
// 解绑银行卡
|
||||
export function unbind(data) {
|
||||
// return request.post('/common/getSmsCode',qs.stringify(params));
|
||||
return request({
|
||||
url: "/bankcard/unbind",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user