mirror of
				https://github.com/Mabbs/mabbs.github.io
				synced 2025-11-04 05:38:15 +08:00 
			
		
		
		
	Update 2 files
- /Gemfile - /Live2dHistoire/live2d/js/message.js
This commit is contained in:
		@@ -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("");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user