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"
|
source "https://rubygems.org"
|
||||||
gem "jekyll", "~> 4.1.0"
|
gem "jekyll"
|
||||||
group :jekyll_plugins do
|
group :jekyll_plugins do
|
||||||
gem "jekyll-gist"
|
gem "jekyll-gist"
|
||||||
gem "jekyll-coffeescript"
|
gem "jekyll-coffeescript"
|
||||||
|
@ -289,17 +289,24 @@ if(!norunFlag){
|
|||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: "https://www.tuling123.com/openapi/api",
|
url: "https://www.tuling123.com/openapi/api",
|
||||||
data: {
|
data: {
|
||||||
"key": "ae8933884bcc4bac96289a43d8a864db",
|
"reqType":0,
|
||||||
"info":info_,
|
"perception": {
|
||||||
"userid":userid_
|
"inputText": {
|
||||||
|
"text": info_
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userInfo": {
|
||||||
|
"apiKey": "ae8933884bcc4bac96289a43d8a864db",
|
||||||
|
"userId": userid_
|
||||||
|
}
|
||||||
},
|
},
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
if(res.code !== 100000){
|
if(res.intent.code !== 0){
|
||||||
talkValTimer();
|
talkValTimer();
|
||||||
showMessage('似乎有什么错误,请和站长联系!',0);
|
showMessage('似乎有什么错误,请和站长联系!',0);
|
||||||
}else{
|
}else{
|
||||||
talkValTimer();
|
talkValTimer();
|
||||||
showMessage(res.text,0);
|
showMessage(res.results[0].values.text,0);
|
||||||
}
|
}
|
||||||
console.log(res);
|
console.log(res);
|
||||||
$('#AIuserText').val("");
|
$('#AIuserText').val("");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user