Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
d00fcc9c
Commit
d00fcc9c
authored
Aug 07, 2024
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bizType
parent
af7f328f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
0 deletions
+31
-0
ContentAccountController.java
...nage/web/controller/content/ContentAccountController.java
+1
-0
AccountGenerateQrCodeQo.java
...anage/web/qo/content/account/AccountGenerateQrCodeQo.java
+15
-0
AccountScanResultQo.java
...an/manage/web/qo/content/account/AccountScanResultQo.java
+15
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/ContentAccountController.java
View file @
d00fcc9c
...
@@ -118,6 +118,7 @@ public class ContentAccountController {
...
@@ -118,6 +118,7 @@ public class ContentAccountController {
accountGenerateQrCodeQDTO
.
setSourceType
(
ContentAccountQrCodeSourceType
.
HAOBAN
.
getCode
());
accountGenerateQrCodeQDTO
.
setSourceType
(
ContentAccountQrCodeSourceType
.
HAOBAN
.
getCode
());
accountGenerateQrCodeQDTO
.
setKey
(
accountGenerateQrCodeQo
.
getKey
());
accountGenerateQrCodeQDTO
.
setKey
(
accountGenerateQrCodeQo
.
getKey
());
accountGenerateQrCodeQDTO
.
setAccountId
(
accountGenerateQrCodeQo
.
getAccountId
());
accountGenerateQrCodeQDTO
.
setAccountId
(
accountGenerateQrCodeQo
.
getAccountId
());
accountGenerateQrCodeQDTO
.
setBizType
(
accountGenerateQrCodeQo
.
getBizType
());
ServiceResponse
<
AccountAuthorizeDTO
>
serviceResponse
=
contentAccountApiService
.
generateQrCode
(
accountGenerateQrCodeQDTO
);
ServiceResponse
<
AccountAuthorizeDTO
>
serviceResponse
=
contentAccountApiService
.
generateQrCode
(
accountGenerateQrCodeQDTO
);
if
(!
serviceResponse
.
isSuccess
())
{
if
(!
serviceResponse
.
isSuccess
())
{
return
RestResponse
.
failure
(
"500"
,
"生成二维码异常"
);
return
RestResponse
.
failure
(
"500"
,
"生成二维码异常"
);
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/qo/content/account/AccountGenerateQrCodeQo.java
View file @
d00fcc9c
package
com
.
gic
.
haoban
.
manage
.
web
.
qo
.
content
.
account
;
package
com
.
gic
.
haoban
.
manage
.
web
.
qo
.
content
.
account
;
import
com.gic.content.api.enums.ContentAccountBizTypeEnum
;
import
java.io.Serializable
;
import
java.io.Serializable
;
/**
/**
...
@@ -30,6 +32,11 @@ public class AccountGenerateQrCodeQo implements Serializable {
...
@@ -30,6 +32,11 @@ public class AccountGenerateQrCodeQo implements Serializable {
*/
*/
private
String
key
;
private
String
key
;
/**
* 渠道类型 1 视频号 2 小红书
*/
private
Integer
bizType
=
ContentAccountBizTypeEnum
.
WX_VIDEO
.
getCode
();
public
String
getEnterpriseId
()
{
public
String
getEnterpriseId
()
{
return
enterpriseId
;
return
enterpriseId
;
}
}
...
@@ -61,4 +68,12 @@ public class AccountGenerateQrCodeQo implements Serializable {
...
@@ -61,4 +68,12 @@ public class AccountGenerateQrCodeQo implements Serializable {
public
void
setKey
(
String
key
)
{
public
void
setKey
(
String
key
)
{
this
.
key
=
key
;
this
.
key
=
key
;
}
}
public
Integer
getBizType
()
{
return
bizType
;
}
public
void
setBizType
(
Integer
bizType
)
{
this
.
bizType
=
bizType
;
}
}
}
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/qo/content/account/AccountScanResultQo.java
View file @
d00fcc9c
package
com
.
gic
.
haoban
.
manage
.
web
.
qo
.
content
.
account
;
package
com
.
gic
.
haoban
.
manage
.
web
.
qo
.
content
.
account
;
import
com.gic.content.api.enums.ContentAccountBizTypeEnum
;
import
java.io.Serializable
;
import
java.io.Serializable
;
/**
/**
...
@@ -27,6 +29,11 @@ public class AccountScanResultQo implements Serializable {
...
@@ -27,6 +29,11 @@ public class AccountScanResultQo implements Serializable {
*/
*/
private
String
enterpriseId
;
private
String
enterpriseId
;
/**
* 渠道类型 1 视频号 2 小红书
*/
private
Integer
bizType
=
ContentAccountBizTypeEnum
.
WX_VIDEO
.
getCode
();
public
String
getKey
()
{
public
String
getKey
()
{
return
key
;
return
key
;
}
}
...
@@ -50,4 +57,12 @@ public class AccountScanResultQo implements Serializable {
...
@@ -50,4 +57,12 @@ public class AccountScanResultQo implements Serializable {
public
void
setEnterpriseId
(
String
enterpriseId
)
{
public
void
setEnterpriseId
(
String
enterpriseId
)
{
this
.
enterpriseId
=
enterpriseId
;
this
.
enterpriseId
=
enterpriseId
;
}
}
public
Integer
getBizType
()
{
return
bizType
;
}
public
void
setBizType
(
Integer
bizType
)
{
this
.
bizType
=
bizType
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment