From a7425fbc637d970978c479348ec102dc2360a63a Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Thu, 8 Dec 2022 18:34:00 +0800 Subject: [PATCH] =?UTF-8?q?web=20=E9=82=AE=E4=BB=B6=E5=8F=91=E9=80=81=20?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=9B=B4=E6=96=B0api=E8=A7=84=E8=8C=83?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/梦工厂后台AIP文档.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/bin/梦工厂后台AIP文档.md b/bin/梦工厂后台AIP文档.md index 11a1e1d10..11bd46c77 100644 --- a/bin/梦工厂后台AIP文档.md +++ b/bin/梦工厂后台AIP文档.md @@ -58,4 +58,39 @@ "msg":"成功", "data":"", } +``` +### 邮件发放API +- 接口名:createmail +- 接口说明:web 服务器给玩家发送邮件 +- 请求地址:{IP}:{port}/createmail +- 请求参数:uid(uid|签名),title(title|签名),contex(contex|签名),cid(cid|签名),items(内嵌接口演示|不签名),param(内嵌接口演示|不签名),sign(签名) +- 请求样例 +``` +{ + "uid":"df01_000001", + "title":"xxxx", + "contex":"xxxxx", + "items":[ + { + "A":"", + "T":"", + "N":0 + } + ], + "Cid":"", + "param":[ + "001", + "002" + ] + "sign":"asjioqiowjeioqjweijqwejoi" +} +``` +- 返回参数 code(0:成功 -1 失败),msg(结果描述),data(返回的额外数据) +- 返回样例 +``` +{ + "code":0, + "msg":"成功", + "data":"", +} ``` \ No newline at end of file