173799761 2 years ago
parent
commit
8c3fac8203
1 changed files with 13 additions and 0 deletions
  1. 13 0
      ic1101_cocos_API.md

+ 13 - 0
ic1101_cocos_API.md

@@ -1553,3 +1553,16 @@ shopCartJson 格式如下
 
 #### 八、AI接口
 
+- [API接口](https://console-docs.apipost.cn/preview/a8cfea10d973a37f/672f95fc04cdaa42)
+
+- [参考模板](https://arrive-h5.aibaidu.com.cn/pages/customai/roledetail/roledetail?id=6)
+
+##### 1. 登录  `/aiLogin`
+
+请求
+
+| 参数名    | 类型   | 可否为空 | 是否参与加密 | 说明                                                   |
+| --------- | ------ | -------- | ------------ | ------------------------------------------------------ |
+| npcId     | string | 否       | 是           | npcId,默认可以传BRGJW59180bfeeecc24790bdbc72ddd6818a15 |
+| sign      | string | 是       | 否           | md5加密值                                              |
+| timestamp | string | 是       | 是           | 时间戳 毫秒                                            |