dev
This commit is contained in:
parent
ed6120c1a4
commit
4f2ac6317a
|
|
@ -57,7 +57,14 @@ public class SocialDirectoryController extends BaseController {
|
||||||
// 处理参数为空的情况,这里假设返回一个错误结果
|
// 处理参数为空的情况,这里假设返回一个错误结果
|
||||||
return error("参数 ver 不能为空");
|
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 不正确");
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue