Commit 99f6212f by kaevom

全部完成

parent ddd8fad1
...@@ -282,14 +282,10 @@ public class DbOrderController extends BaseController { ...@@ -282,14 +282,10 @@ public class DbOrderController extends BaseController {
} }
return toAjax(iDbOrderService.createPay(bo)); return toAjax(iDbOrderService.createPay(bo));
} }
@SaCheckPermission("xinrenli:order:cut") @SaCheckPermission("xinrenli:order:test")
@Log(title = "报表", businessType = BusinessType.DELETE) @Log(title = "报表", businessType = BusinessType.DELETE)
@GetMapping("/cut") @GetMapping("/test")
public R test(String url) throws Exception { public String test(String url) throws Exception {
String image = "/opt/xinrenli/image/"+url.substring(url.lastIndexOf("/")+1); return "jenkins成功";
getTempPath("/opt/xinrenli/image/diyizhen.jpg",image);
Map<String, Object> map = new HashMap<>();
map.put("url","http://xinrenli.nyinhong.com/image/diyizhen.jpg");
return R.ok(map);//上传成功,返回保存的文件地址
} }
} }
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