no message

cyl/master-0804
jscyl13849007907 3 months ago
parent 01ee5448e3
commit cc406d3be7

@ -1364,6 +1364,7 @@
let that = this; let that = this;
coziAjax.coziPost('/v1/conversation/create',{ coziAjax.coziPost('/v1/conversation/create',{
"bot_id": uni.getStorageSync('robot_id'), "bot_id": uni.getStorageSync('robot_id'),
"agencyId":uni.getStorageSync("apply-agencyId"),
"messages": [ "messages": [
{ {
"content_type": "text", "content_type": "text",
@ -1390,6 +1391,7 @@
method: "post", method: "post",
body: { body: {
"bot_id": uni.getStorageSync('robot_id'), "bot_id": uni.getStorageSync('robot_id'),
"agencyId":uni.getStorageSync("apply-agencyId"),
"user_id": "user", "user_id": "user",
"stream": true, "stream": true,
"additional_messages": [ "additional_messages": [

Loading…
Cancel
Save