更改文字,更改AppGuide字段,实名逻辑更改,收银点判断逻辑更改,RSA相关

This commit is contained in:
liuyingfang
2023-06-06 18:23:13 +08:00
parent eeffe90fc7
commit fd84e2d469
42 changed files with 1433 additions and 91 deletions

View File

@@ -11,6 +11,8 @@ import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Objects;
/**
* @author djh
* 简介富文本内容
@@ -30,6 +32,13 @@ public class IntroduceController {
}
AppGuide entity = appGuideService.getByCode(code);
return ResultGenerator.genSuccessResult(entity == null? "": entity.getContent());
if (!"SHTGKT".equals(code)){
return ResultGenerator.genSuccessResult(entity == null ? "" : entity.getContent());
}
if (Objects.equals(entity.getType(), "1")) {
return ResultGenerator.genSuccessResult(entity == null ? "" : entity.getContent());
}else {
return ResultGenerator.genFailResult("");
}
}
}

View File

@@ -106,6 +106,9 @@ public class MerchantCashPlaceController {
return ResultGenerator.genSuccessResult(pageData);
}
private void size(String character){
if (character.isEmpty()){
throw new MsgException("地址或收银点名称不能为空");
}
if (character.length() >= 50){
throw new MsgException("输入内容过长");
}

View File

@@ -22,6 +22,6 @@ spring:
max-size: 20
server:
# servlet:
# context-path: /api
servlet:
context-path: /api
port: 7004