mirror of
https://github.com/Mabbs/mabbs.github.io
synced 2025-07-20 05:02:01 +00:00
Update 2 files
- /Gemfile - /Live2dHistoire/live2d/js/message.js
This commit is contained in:
parent
7609bb0b8f
commit
c622346eaa
2
Gemfile
2
Gemfile
@ -1,5 +1,5 @@
|
||||
source "https://rubygems.org"
|
||||
gem "jekyll", "~> 4.1.0"
|
||||
gem "jekyll"
|
||||
group :jekyll_plugins do
|
||||
gem "jekyll-gist"
|
||||
gem "jekyll-coffeescript"
|
||||
|
@ -289,17 +289,24 @@ if(!norunFlag){
|
||||
type: 'POST',
|
||||
url: "https://www.tuling123.com/openapi/api",
|
||||
data: {
|
||||
"key": "ae8933884bcc4bac96289a43d8a864db",
|
||||
"info":info_,
|
||||
"userid":userid_
|
||||
"reqType":0,
|
||||
"perception": {
|
||||
"inputText": {
|
||||
"text": info_
|
||||
}
|
||||
},
|
||||
"userInfo": {
|
||||
"apiKey": "ae8933884bcc4bac96289a43d8a864db",
|
||||
"userId": userid_
|
||||
}
|
||||
},
|
||||
success: function(res) {
|
||||
if(res.code !== 100000){
|
||||
if(res.intent.code !== 0){
|
||||
talkValTimer();
|
||||
showMessage('似乎有什么错误,请和站长联系!',0);
|
||||
}else{
|
||||
talkValTimer();
|
||||
showMessage(res.text,0);
|
||||
showMessage(res.results[0].values.text,0);
|
||||
}
|
||||
console.log(res);
|
||||
$('#AIuserText').val("");
|
||||
|
Loading…
x
Reference in New Issue
Block a user