Commit e40b839f authored by huyuchen's avatar huyuchen

派单查询接口修改

parent 525b8563
......@@ -114,7 +114,7 @@ public class TSalaryAttaController {
public R ossFileUrl(@PathVariable String id) {
TSalaryAtta salaryAtta = tSalaryAttaService.getById(id);
if (null == salaryAtta) {
return R.failed("无对应附件信息");
return new R<>(salaryAtta);
}
URL url = ossUtil.getObjectUrl(null, salaryAtta.getAttaSrc());
salaryAtta.setAttaUrl(url.toString().replace("http","https"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment