Source code description
OTC pending order trading – system core
· Supports the issuance of two types of pending orders: buy/sell
· Pricing method: fixed price, floating exchange rate (floating ratio can be set)
· Single transaction limit: the minimum amount and maximum amount can be configured
· You can limit who can trade with you based on user level (Rank)
· Can require the other party to meet: historical number of transactions, transaction success rate
· Multiple payment methods: Alipay, WeChat, bank card (1/2/3)
· Filter the list of pending orders: query by page according to amount, payment method, and buying and selling direction
· Supports “one-click quick trading” fastTrade (quick matching based on amount)
· Support “trust transaction list” trustTradeList (follow/trust merchants)
· Pending orders can be canceled and the order status can be tracked throughout the process
· The trading parameters are unified through the backend TradeConfig, so you don’t need to change the code to change the rules.
Whole order process
· The buyer places an order → selects the payment method/submits the payment voucher → the seller confirms the currency release
· Support order details query and order list (in progress/history)
· Supports order cancellation, payment confirmation, and currency release confirmation (payment password can be verified)
· Support appeal/cancel appeal to facilitate dispute resolution
· Automatic processing of scheduled tasks: timeout cancellation, automatic confirmation, cancellation of SMS reminders, etc.
· Exchange rate is synchronized regularly (usdtRate/rate) to ensure that floating prices are well-founded
Funds and Assets
· User asset account/wallet address management (walletAddress, userAccount)
· USDT deposit order creation, list, chain scan callback (usdtScan / Notify)
· Withdrawal: withdrawal configuration, withdrawal initiation, withdrawal record, user can cancel withdrawal
· When withdrawing cash, the payment password can be verified to reduce the risk of fraudulent withdrawals.
· Fund Bill: View transaction details by currency
· Remittance Remittance: remittance list, create USDT order, upload payment voucher
· Multi-currency support, currency information can be expanded in the background
· Fund-related backend modules: Funds, UsdtRechargeOrder, DrawRecord, RemittanceRecord
Collection and payment methods
· Users can add/edit/delete payment methods Gathering
· Type coverage: bank card, Alipay, WeChat, etc.
· Controllable payment method enable/hide (updateStatus)
· Bind a specific payment account when placing an order for payment, and the process is clear and traceable
User and membership system
· Mobile phone number registration/login/forgot password/SMS verification code
· Support APP push identification (app_cid) docking
· Real-name authentication UsersAuth, background review
· User information, level Rank, recommendation relationship
· Recommendation rewards/activity rewards (Award, AwardRecommend, AwardRecord)
· Search users and level list display, which is conducive to displaying merchant reputation
Operations and content
· Home page carousel Banner
· Notice Notice (list + details)
· FAQ Question
· Rule description regulationsList
· Feedback Proposal (categorized submission)
· System configuration Information.systemConfig is delivered uniformly
· Management backend Dashboard data dashboard to facilitate disk tracking operations
Online customer service system (independent plug-in)
· Based on Workerman/GatewayWorker long connection real-time chat
·Customer service session, chat record Record
· Quick reply Fastreply, knowledge base Kbs
· Blacklist, Leavemessage
· Customer service KPI (Csrkpi), toolbar Toolbar
· Number of unread messages/list interface, APP/H5 can provide red dot reminder
· Provide Windows one-click startup script (kefu_start_for_win)
· Linux available start_gateway / start_businessworker / start_register resident
Messages and Notifications
· Telegram Webhook / Robot docking
· Daily summary tgDailySummary, convenient for operating group broadcasts
· Order-related SMS reminders (timeout cancellation, etc.)
· Personal push/push related dependencies have been integrated, APP push can be expanded
On-chain and fund pool assistance
· Pooling: TRX/TRC balance query interface
· USDT deposit chain scan callback Notify.usdtScan
· QR code generation (receipt code/address display scenario)
· Upload interface fileUpload, universal for credentials, avatars, and chat pictures
Permissions and background management
· FastAdmin Auth permissions: unlimited levels for administrators, role groups, and menu rules
· Operation log, attachment management, system configuration, personal information
· All business tables have backend CRUD: users, transactions, orders, recharges, withdrawals, bills, etc.
· Plug-in market system (Addon), which can continue to expand modules
Source code screenshot
















