多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
#### 提交订单 ~~~[api] post:/order/submitOrder orderBuyerInfo={buyerUserId,buyerUid,buyerName,buyerMobile,buyerAddress}#买家提交信息(map) payMethod=2#支付方式(int) storeOrderList=[storeInfo]#店铺+商品信息列表(map) <<< success { "retCode": 0, "retMsg": "success", "responseInfo": { sign, partnerID, transactionId, orderId } } <<< error { "retCode": !0, "retMsg": "errMsg" } ~~~ // #### 获取transId // ~~~[api] // get:/order/payOrder/applyPayment // buyerUid=1#UID(int) // orderNums=["932110060001"]#订单号(jsonString) // totalMoney=10#总金额(double) // moneySign#签名(string) // goodsNames=goods1,goods2,goods3#商品名(string) // storeNames=store1,store2,store3#店铺名(string) // <<< // success // { // "retCode": 0, // "retMsg": "success", // "responseInfo": { // sign, // partnerID, // transactionId, // orderId // } // } // <<< // error // { // "retCode": !0, // "retMsg": "errMsg" // } // ~~~ #### 通知后台支付结果 ~~~[api] get:/order/setPaymentStatus orderId=932110060001#订单号(string) status=1#支付结果(int) <<< success { "retCode": 0, "retMsg": "success", "responseInfo": { } } <<< error { "retCode": !0, "retMsg": "errMsg" } ~~~ #### 查询订单状态 ~~~[api] get:/order/queryOrderStatus orderId=932110060001#订单号(string) <<< success { "retCode": 0, "retMsg": "success", "responseInfo": { status } } <<< error { "retCode": !0, "retMsg": "errMsg" } ~~~