微信支付:
# 获取订单号:GET方法
https://www.shenmazong.com/weixin/getOrderNo
{
"success": true,
"code": 0,
"message": "操作成功",
"data": "202210071138050001"
}
# 下单接口:POST方法
https://www.shenmazong.com/weixin/postOrderObj
{
"outTradeNo" : "202210062223100001",
"description" : "产品描述",
"amount" : 1,
"attach" : "附加数据"
}
{
"success": true,
"code": 0,
"message": "操作成功",
"data": {
"codeUrl": "weixin://wxpay/bizpayurl?pr=welMWQtzz"
}
}
# 订单查询:GET方法
https://www.shenmazong.com/weixin/getOrderInfo?orderNo=202210062223100001
{
"success": true,
"code": 0,
"message": "操作成功",
"data": {
"orderId": "1578229054623961088",
"orderNo": "202210071138050001",
"userId": "0",
"userName": "",
"orderAmount": "1",
"orderStatus": 1,
"description": "产品描述",
"attach": "附加数据",
"delFlag": 0,
"updateTime": "2022-10-07 03:41:43",
"createTime": "2022-10-07 03:41:43"
}
}