Thoughts on the refund process of auction items welcome to watch.

now there is an auction scene:
1. After an item is on the shelves, first pay a deposit such as 100, and then start bidding
2. When the auction ends, the highest bidder gets the deposit back to the person who didn"t get it.
3. If it is WeChat Pay, for example, 200participants, and the rest of the deposit will be refunded to 199people, what kind of thinking should be used
to return it the same way? One by one offline?

Php
Mar.12,2021
Doesn't

have a refund interface? Write a program to return, just follow the document
https://pay.weixin.qq.com/wik.


in this order

  1. recharge to user account balance
  2. Lock 100 as margin
  3. unfreeze the margin at the end of the auction to the balance
  4. users reflect the flow to Wechat, Alipay, and bank cards
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3be37-34698.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3be37-34698.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?