lifuquan 2 years ago
parent
commit
a28aaa58ff
1 changed files with 33 additions and 0 deletions
  1. 33 0
      doc/部署文档/正式环境/正式环境测试文档.md

+ 33 - 0
doc/部署文档/正式环境/正式环境测试文档.md

@@ -0,0 +1,33 @@
+# 正式环境测试文档
+
+12080端口未直接暴露到DCN,所以不能直接访问
+
+ssh -o ServerAliveInterval=20 -N -L 12080:192.168.70.125:12080 do@133.96.94.176
+
+## 接口测试
+
+```http
+Post http://127.0.0.1:12080/api/sms/sendByPhoneNumbers
+Content-Type: application/json
+
+{
+  "fromSystem": "ceshi",
+  "phoneNumbers": ["13231899751", "15633560090", "16673135227"],
+  "content": "这是一条测试短信,请忽略...",
+  "smsType": "test",
+  "internalId": "000001"
+}
+```
+
+```http
+Post http://127.0.0.1:12080/api/sms/sendByPhoneNumbers
+Content-Type: application/json
+
+{
+    "internalId": "000001",
+    "smsType": "test",
+    "fromSystem": "liucheng",
+    "phoneNumbers": ["13231899751"],
+    "content": "移网工单TS8888888888888888于2022-08-22 14:02:39首派,投诉区县:长安区,投诉渠道10015(电话),该用户近3月1单投诉,请于2022-08-24 10:22:33前完成客服回单。"
+}
+```