Commit d00fcc9c by 王祖波

bizType

parent af7f328f
......@@ -118,6 +118,7 @@ public class ContentAccountController {
accountGenerateQrCodeQDTO.setSourceType(ContentAccountQrCodeSourceType.HAOBAN.getCode());
accountGenerateQrCodeQDTO.setKey(accountGenerateQrCodeQo.getKey());
accountGenerateQrCodeQDTO.setAccountId(accountGenerateQrCodeQo.getAccountId());
accountGenerateQrCodeQDTO.setBizType(accountGenerateQrCodeQo.getBizType());
ServiceResponse<AccountAuthorizeDTO> serviceResponse = contentAccountApiService.generateQrCode(accountGenerateQrCodeQDTO);
if (!serviceResponse.isSuccess()) {
return RestResponse.failure("500", "生成二维码异常");
......
package com.gic.haoban.manage.web.qo.content.account;
import com.gic.content.api.enums.ContentAccountBizTypeEnum;
import java.io.Serializable;
/**
......@@ -30,6 +32,11 @@ public class AccountGenerateQrCodeQo implements Serializable {
*/
private String key;
/**
* 渠道类型 1 视频号 2 小红书
*/
private Integer bizType = ContentAccountBizTypeEnum.WX_VIDEO.getCode();
public String getEnterpriseId() {
return enterpriseId;
}
......@@ -61,4 +68,12 @@ public class AccountGenerateQrCodeQo implements Serializable {
public void setKey(String key) {
this.key = key;
}
public Integer getBizType() {
return bizType;
}
public void setBizType(Integer bizType) {
this.bizType = bizType;
}
}
package com.gic.haoban.manage.web.qo.content.account;
import com.gic.content.api.enums.ContentAccountBizTypeEnum;
import java.io.Serializable;
/**
......@@ -27,6 +29,11 @@ public class AccountScanResultQo implements Serializable {
*/
private String enterpriseId;
/**
* 渠道类型 1 视频号 2 小红书
*/
private Integer bizType = ContentAccountBizTypeEnum.WX_VIDEO.getCode();
public String getKey() {
return key;
}
......@@ -50,4 +57,12 @@ public class AccountScanResultQo implements Serializable {
public void setEnterpriseId(String enterpriseId) {
this.enterpriseId = enterpriseId;
}
public Integer getBizType() {
return bizType;
}
public void setBizType(Integer bizType) {
this.bizType = bizType;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment