去掉默认帐号密码 + 增加批量上传图片接口
This commit is contained in:
parent
504603f6de
commit
ff22f93d3d
|
|
@ -39,6 +39,17 @@ public class TbUserImgAppController {
|
||||||
return Result.error("上传用户附件失败");
|
return Result.error("上传用户附件失败");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ResponseBody
|
||||||
|
@PostMapping("/addBatch")
|
||||||
|
@ApiOperation(value = "批量保存用户附件", httpMethod = "POST")
|
||||||
|
public Result<String> addBatch(@RequestBody List<TbUserImg> tbUserImg)
|
||||||
|
{
|
||||||
|
if(tbUserImgService.saveBatch(tbUserImg)){
|
||||||
|
return Result.success("上传用户附件成功");
|
||||||
|
}
|
||||||
|
return Result.error("上传用户附件失败");
|
||||||
|
}
|
||||||
|
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@PostMapping("/edit")
|
@PostMapping("/edit")
|
||||||
@ApiOperation(value = "更新用户附件", httpMethod = "POST")
|
@ApiOperation(value = "更新用户附件", httpMethod = "POST")
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,8 @@
|
||||||
<form id="signupForm" autocomplete="off">
|
<form id="signupForm" autocomplete="off">
|
||||||
<h4 class="no-margins">登录:</h4>
|
<h4 class="no-margins">登录:</h4>
|
||||||
<p class="m-t-md">你若不离不弃,我必生死相依</p>
|
<p class="m-t-md">你若不离不弃,我必生死相依</p>
|
||||||
<input type="text" name="username" class="form-control uname" placeholder="用户名" value="admin" />
|
<input type="text" name="username" class="form-control uname" placeholder="用户名" value="" />
|
||||||
<input type="password" name="password" class="form-control pword" placeholder="密码" value="admin123" />
|
<input type="password" name="password" class="form-control pword" placeholder="密码" value="" />
|
||||||
<div class="row m-t" th:if="${captchaEnabled==true}">
|
<div class="row m-t" th:if="${captchaEnabled==true}">
|
||||||
<div class="col-xs-6">
|
<div class="col-xs-6">
|
||||||
<input type="text" name="validateCode" class="form-control code" placeholder="验证码" maxlength="5" />
|
<input type="text" name="validateCode" class="form-control code" placeholder="验证码" maxlength="5" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue