💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 相关代码如下: ``` function start_welcome(callback) { var data = "{values :{service:'index',act:'welcome'}}"; r_ajax(serverURL,data,function(ret) { if(ret.error==0) { if(is_define(ret.adv)) { var old_welcome=get_local("welcome"); if(is_define(old_welcome)) { if(old_welcome!=json2str(ret.adv)) { set_local("welcome",json2str(ret.adv)); close_start_page(function() { set_welcome(0,ret.adv,callback); }) } else { if(is_define(callback)) { close_start_page(callback); } else { close_start_page(); } } } else { set_local("welcome",json2str(ret.adv)); close_start_page(function() { set_welcome(0,ret.adv,callback); }) } } else { if(is_define(callback)) { close_start_page(callback); } else { close_start_page(); } } } else { if(is_define(callback)) { close_start_page(callback); } else { close_start_page(); } } }) } ``` 相关示例: 相关图片: