Commit 83c602cc authored by Quxl's avatar Quxl
parents e9545cbb 4bfdeccd
......@@ -95,7 +95,7 @@ public class AliyunApiController {
if(response != null) {
return Rjx.jsonOk().set("RequestId", response.getRequestId()).set("UploadAuth", response.getUploadAuth()).set("UploadAddress", response.getUploadAddress());
}else {
return Rjx.jsonErr().setMessage("InvalidVideo.NotFound : The video does not exist.");
return Rjx.jsonErr().setCode(-1).setMessage("InvalidVideo.NotFound : The video does not exist.");
}
}
......@@ -120,7 +120,7 @@ public class AliyunApiController {
if(response != null) {
return Rjx.jsonOk().set("playAuth", response.getPlayAuth()).set("videoMeta", response.getVideoMeta());
}else {
return Rjx.jsonErr().setMessage("InvalidVideo.NotFound : The video does not exist.");
return Rjx.jsonErr().setCode(-1).setMessage("InvalidVideo.NotFound : The video does not exist.");
}
} catch (Exception e) {
......
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