This commit is contained in:
牛子源 2025-04-24 14:25:20 +08:00
parent ed6120c1a4
commit 4f2ac6317a
1 changed files with 8 additions and 1 deletions

View File

@ -57,7 +57,14 @@ public class SocialDirectoryController extends BaseController {
// 处理参数为空的情况这里假设返回一个错误结果
return error("参数 ver 不能为空");
}
return success(socialDirectoryService.download(ver, type));
Map<String, Object> result= null;
if(type==1301||type==1302||type==1306){
result =socialDirectoryService.download(ver, type);
return success(result);
}
return error("参数 type 不正确");
}