银联支付集成和购买插件;修改首页小区更改后获取数据;对接我的信息接口
This commit is contained in:
@@ -136,8 +136,7 @@ export const getTopUpSelectByResident = (data) => {
|
||||
}
|
||||
// 绑定设备
|
||||
export const getTopUpBindDevice = (data) => {
|
||||
return post(`/api/topUp/bindDevice/${data.deviceCode}/${data.residentUserId}/${data.openid}/${data.deviceType}`,
|
||||
data)
|
||||
return post(`/api/topUp/bindDevice/${data.deviceCode}/${data.residentUserId}/${data.deviceType}`, data)
|
||||
}
|
||||
// 充值调用
|
||||
// /${data.rechargeAmount}/${data.type}/${data.deviceCode}
|
||||
@@ -148,9 +147,9 @@ export const getopenIdByCode = (data) => {
|
||||
return get(`/api/topUp/getOpenIdByCode?code=${data.code}`, data)
|
||||
}
|
||||
|
||||
// 微信支付调用
|
||||
export const getToWxPay = (data) => {
|
||||
return post(`/api/topUp/wxPay/${data.orderId}/${data.openid}`, data)
|
||||
// 银联支付下单
|
||||
export const getUnionPayTn = (data) => {
|
||||
return post('/api/topUp/unionPay/getTn', data)
|
||||
}
|
||||
// 缴费记录查询
|
||||
export const getTopupRecordWithStat = (data) => {
|
||||
@@ -223,3 +222,16 @@ export const getParkingDetail = (data) => {
|
||||
export const rebindCar = (data) => {
|
||||
return post(`/ResidentCarAreaManage/rebind`, data)
|
||||
}
|
||||
|
||||
// 查询版本信息
|
||||
export const getAppVersion = (platform, channel) => {
|
||||
return get(`/api/app/version/${platform}/${channel}`)
|
||||
}
|
||||
// 检查是否需要更新
|
||||
export const checkAppUpdate = (data) => {
|
||||
return post(`/api/app/checkUpdate`, data)
|
||||
}
|
||||
// 记录更新日志
|
||||
export const postUpdateLog = (data) => {
|
||||
return post(`/api/app/updateLog`, data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user