This commit is contained in:
parent
c768a77da4
commit
9b9ba5adad
|
|
@ -301,7 +301,10 @@ export default {
|
|||
success: (res) => {
|
||||
console.log('[确认收款] 成功', res)
|
||||
uni.showToast({ title: '收款成功', icon: 'success' })
|
||||
this.loadData()
|
||||
// 立即从列表移除,给用户即时反馈
|
||||
this.pendingConfirms = this.pendingConfirms.filter(i => i.id !== item.id)
|
||||
// 后台静默刷新数据
|
||||
setTimeout(() => { this.loadData() }, 1000)
|
||||
},
|
||||
fail: (res) => {
|
||||
console.error('[确认收款] 失败', res)
|
||||
|
|
|
|||
|
|
@ -186,12 +186,16 @@ public class WxPayService
|
|||
{
|
||||
appid = _appId,
|
||||
out_bill_no = outBillNo,
|
||||
transfer_scene_id = "1002", // 佣金报酬场景
|
||||
transfer_scene_id = "1005", // 佣金报酬场景
|
||||
openid = openId,
|
||||
transfer_amount = amountFen,
|
||||
transfer_remark = remark,
|
||||
notify_url = notifyUrl,
|
||||
user_recv_perception = "跑腿提现" // 用户收款时看到的描述
|
||||
transfer_scene_report_infos = new[]
|
||||
{
|
||||
new { info_type = "岗位类型", info_content = "跑腿员" },
|
||||
new { info_type = "报酬说明", info_content = "跑腿配送佣金" }
|
||||
}
|
||||
};
|
||||
|
||||
var json = JsonSerializer.Serialize(requestBody);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user