Browse Source

新增postman接口

赵冬冬 4 năm trước cách đây
mục cha
commit
b56521d03e
1 tập tin đã thay đổi với 231 bổ sung0 xóa
  1. 231 0
      UtilsDemo-WX/api/支付.postman_collection.json

+ 231 - 0
UtilsDemo-WX/api/支付.postman_collection.json

@@ -0,0 +1,231 @@
+{
+	"info": {
+		"_postman_id": "94c07547-b81f-40d5-8c20-f285bde5b287",
+		"name": "支付",
+		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+	},
+	"item": [
+		{
+			"name": "微信",
+			"item": [
+				{
+					"name": "扫码支付",
+					"item": [
+						{
+							"name": "二维码支付",
+							"request": {
+								"method": "POST",
+								"header": [],
+								"body": {
+									"mode": "raw",
+									"raw": "{\r\n    \r\n    \"tradeType\":\"test\"\r\n}",
+									"options": {
+										"raw": {
+											"language": "json"
+										}
+									}
+								},
+								"url": {
+									"raw": "172.16.90.11:8899/app/native",
+									"host": [
+										"172",
+										"16",
+										"90",
+										"11"
+									],
+									"port": "8899",
+									"path": [
+										"app",
+										"native"
+									]
+								}
+							},
+							"response": []
+						},
+						{
+							"name": "付款码付款",
+							"request": {
+								"method": "POST",
+								"header": [],
+								"body": {
+									"mode": "raw",
+									"raw": "{\r\n    \"authCode\":\"136471675380026709\",\r\n    \"tradeType\":\"test\"\r\n}",
+									"options": {
+										"raw": {
+											"language": "json"
+										}
+									}
+								},
+								"url": {
+									"raw": "172.16.90.11:8899/app/pay/authcode",
+									"host": [
+										"172",
+										"16",
+										"90",
+										"11"
+									],
+									"port": "8899",
+									"path": [
+										"app",
+										"pay",
+										"authcode"
+									]
+								}
+							},
+							"response": []
+						},
+						{
+							"name": "订单查询",
+							"request": {
+								"method": "POST",
+								"header": [],
+								"body": {
+									"mode": "raw",
+									"raw": "{\r\n    \"orderId\":\"2021052617052118745056\"\r\n}",
+									"options": {
+										"raw": {
+											"language": "json"
+										}
+									}
+								},
+								"url": {
+									"raw": "172.16.90.11:8899/app/pay/query",
+									"host": [
+										"172",
+										"16",
+										"90",
+										"11"
+									],
+									"port": "8899",
+									"path": [
+										"app",
+										"pay",
+										"query"
+									]
+								}
+							},
+							"response": []
+						}
+					]
+				}
+			]
+		},
+		{
+			"name": "支付宝",
+			"item": [
+				{
+					"name": "发起支付构建二维码",
+					"request": {
+						"method": "GET",
+						"header": [],
+						"url": {
+							"raw": "172.16.90.11:8899/alipay/getPayimg?outTradeNo=1111asdad",
+							"host": [
+								"172",
+								"16",
+								"90",
+								"11"
+							],
+							"port": "8899",
+							"path": [
+								"alipay",
+								"getPayimg"
+							],
+							"query": [
+								{
+									"key": "outTradeNo",
+									"value": "1111asdad"
+								}
+							]
+						}
+					},
+					"response": []
+				},
+				{
+					"name": "发起支付构建参数",
+					"request": {
+						"method": "GET",
+						"header": [],
+						"url": {
+							"raw": "172.16.90.11:8899/alipay/alipage?outTradeNo=1111sssssd",
+							"host": [
+								"172",
+								"16",
+								"90",
+								"11"
+							],
+							"port": "8899",
+							"path": [
+								"alipay",
+								"alipage"
+							],
+							"query": [
+								{
+									"key": "outTradeNo",
+									"value": "1111sssssd"
+								}
+							]
+						}
+					},
+					"response": []
+				},
+				{
+					"name": "申请退款",
+					"request": {
+						"method": "GET",
+						"header": [],
+						"url": {
+							"raw": "172.16.90.11:8899/alipay/refund?outTradeNo=1617348723450",
+							"host": [
+								"172",
+								"16",
+								"90",
+								"11"
+							],
+							"port": "8899",
+							"path": [
+								"alipay",
+								"refund"
+							],
+							"query": [
+								{
+									"key": "outTradeNo",
+									"value": "1617348723450"
+								}
+							]
+						}
+					},
+					"response": []
+				},
+				{
+					"name": "支付宝条码支付",
+					"request": {
+						"method": "GET",
+						"header": [],
+						"url": {
+							"raw": "172.16.90.11:8899/alipay/barcode?authCode=1111asdad",
+							"host": [
+								"172",
+								"16",
+								"90",
+								"11"
+							],
+							"port": "8899",
+							"path": [
+								"alipay",
+								"barcode"
+							],
+							"query": [
+								{
+									"key": "authCode",
+									"value": "1111asdad"
+								}
+							]
+						}
+					},
+					"response": []
+				}
+			]
+		}
+	]
+}