代码更新

This commit is contained in:
hellohao
2022-07-12 22:41:44 +08:00
parent cec4db6947
commit dcf753b2b3
10 changed files with 74 additions and 73 deletions
@@ -97,8 +97,7 @@ public class AlbumController {
}
//后台列表要修改时的查询表单
@PostMapping("/admin/getAlbumListForKey")
@PostMapping("/admin/getAlbumListForKey")
@ResponseBody
public Msg getAlbumListForKey(@RequestParam(value = "data", defaultValue = "") String data){
Msg msg = new Msg();
@@ -214,8 +213,6 @@ public class AlbumController {
String password = jsonObject.getString("password");
JSONArray jsonArray = JSONArray.parseArray(jsonObject.getString("albumlist"));
if(null!=password){
// String regex = "^[a-z0-9A-Z\u4e00-\u9fa5]+$";
// return str.matches(regex);
password = password.replace(" ", "");
if(password.replace(" ", "").equals("") || password.length()<3){
msg.setCode("110403");