更改文字,更改AppGuide字段,实名逻辑更改,收银点判断逻辑更改,RSA相关
This commit is contained in:
@@ -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("");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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("输入内容过长");
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@ spring:
|
||||
max-size: 20
|
||||
|
||||
server:
|
||||
# servlet:
|
||||
# context-path: /api
|
||||
servlet:
|
||||
context-path: /api
|
||||
port: 7004
|
||||
|
||||
Reference in New Issue
Block a user