modify controller private -> public

This commit is contained in:
Carl 2021-12-07 16:19:26 +08:00
parent 6b2f9c00ee
commit a3e2d84eca

View File

@ -42,7 +42,7 @@ public class TransitionController {
@ApiOperation(value = "会员信息", notes = "会员查询,验证会员信息,会员注册")
@PostMapping("royalcanin/member")
private String transferMember(String type ,@RequestBody Object object) throws Exception {
public String transferMember(String type ,@RequestBody Object object) throws Exception {
ObjectMapper objectMapper = new ObjectMapper();
switch (type)
{
@ -60,7 +60,7 @@ public class TransitionController {
@ApiOperation(value = "会员地址", notes = "查询会员地址,添加会员地址,更新会员地址,删除会员地址")
@PostMapping("royalcanin/memberAddress")
private String transferMemberAddress(String type ,@RequestBody Object object) throws Exception {
public String transferMemberAddress(String type ,@RequestBody Object object) throws Exception {
ObjectMapper objectMapper = new ObjectMapper();
switch (type)
{
@ -78,7 +78,7 @@ public class TransitionController {
@ApiOperation(value = "会员积分", notes = "会员积分明细,会员积分变更")
@PostMapping("royalcanin/memberAccount")
private String transferMemberAccount(String type ,@RequestBody Object object) throws Exception {
public String transferMemberAccount(String type ,@RequestBody Object object) throws Exception {
ObjectMapper objectMapper = new ObjectMapper();
switch (type)
{
@ -93,7 +93,7 @@ public class TransitionController {
@ApiOperation(value = "优惠券种类", notes = "查询所有优惠券种类,查询单条优惠券种类")
@PostMapping("royalcanin/couponConfig")
private String transferCouponConfig(String type ,@RequestBody Object object) throws Exception {
public String transferCouponConfig(String type ,@RequestBody Object object) throws Exception {
ObjectMapper objectMapper = new ObjectMapper();
switch (type)
{