Skip to content

Conversation

@iqovo
Copy link

@iqovo iqovo commented Jan 24, 2022

经过实测发现是源站搜狗表情弃用了接口
采用了新的接口导致的,更换接口与解析方式后已可以正常使用该功能
表情搜索修复后

iqovo added 2 commits January 24, 2022 09:53
修复表情搜索403的问题
@yinxin630
Copy link
Owner

Please fix CI errors


data.forEach(element=>{

img_arr.push({image:element.thumbSrc,width:90,height:90});
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

width and height should not be fixed value. It should get from image data.


var img_arr=[];

data.forEach(element=>{
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should just return data.map(/* do something */)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants