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
ef1e8b40
Commit
ef1e8b40
authored
Nov 15, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
1e4cc452
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
19 deletions
+6
-19
pom.xml
haoban-manage3-wx/pom.xml
+0
-15
UploadController.java
...om/gic/haoban/manage/web/controller/UploadController.java
+2
-2
QwMessageController.java
...an/manage/web/controller/content/QwMessageController.java
+4
-2
No files found.
haoban-manage3-wx/pom.xml
View file @
ef1e8b40
...
...
@@ -78,21 +78,6 @@
<version>
2.6.12
</version>
</dependency>
<dependency>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi
</artifactId>
<version>
3.9
</version>
</dependency>
<dependency>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi-ooxml
</artifactId>
<version>
3.9
</version>
</dependency>
<dependency>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi-ooxml-schemas
</artifactId>
<version>
3.9
</version>
</dependency>
<dependency>
<groupId>
com.gic
</groupId>
<artifactId>
haoban-data-api
</artifactId>
<version>
${haoban-data-api}
</version>
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/UploadController.java
View file @
ef1e8b40
...
...
@@ -40,7 +40,7 @@ public class UploadController extends WebBaseController {
private
EnterpriseService
enterpriseService
;
@RequestMapping
(
"upload-img"
)
@RequestMapping
(
"upload-img
-fee
"
)
@IgnoreLogin
public
HaobanResponse
imgUpload
(
HttpServletRequest
request
)
throws
Exception
{
MultipartHttpServletRequest
multiRequest
=
(
MultipartHttpServletRequest
)
request
;
...
...
@@ -74,7 +74,7 @@ public class UploadController extends WebBaseController {
}
// fileType image:图片 video:视频 file:文件 audio音频 other:其它
@RequestMapping
(
"upload-img
-fee
"
)
@RequestMapping
(
"upload-img"
)
@IgnoreLogin
public
HaobanResponse
imgUploadFee
(
HttpServletRequest
request
,
String
fileType
,
String
enterpriseId
)
throws
Exception
{
MultipartHttpServletRequest
multiRequest
=
(
MultipartHttpServletRequest
)
request
;
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/QwMessageController.java
View file @
ef1e8b40
...
...
@@ -44,7 +44,7 @@ public class QwMessageController extends WebBaseController {
* 群发-分享 - 店员和店长
*/
@RequestMapping
(
"/message-send"
)
public
RestResponse
<
Object
>
messageSend
(
CustomerQO
qo
,
String
imgJson
,
String
selectedStoreId
)
{
public
RestResponse
<
Object
>
messageSend
(
CustomerQO
qo
,
String
imgJson
,
String
selectedStoreId
,
Long
contentMaterialId
)
{
CustomerDTO
params
=
EntityUtil
.
changeEntityByJSON
(
CustomerDTO
.
class
,
qo
);
String
clerkId
=
qo
.
getClerkId
();
String
wxEnterpriseId
=
qo
.
getWxEnterpriseId
();
...
...
@@ -87,6 +87,7 @@ public class QwMessageController extends WebBaseController {
json
.
put
(
"storeId"
,
storeId
);
json
.
put
(
"staffId"
,
staffId
);
json
.
put
(
"content"
,
qo
.
getContent
())
;
json
.
put
(
"contentMaterialId"
,
contentMaterialId
)
;
// 群发-分享
json
.
put
(
"sendType"
,
1
);
json
.
put
(
"wxEnterpriseId"
,
wxEnterpriseId
);
...
...
@@ -102,7 +103,7 @@ public class QwMessageController extends WebBaseController {
// 朋友圈任务 - 店长和区经
@RequestMapping
(
"/add_moment_task"
)
public
RestResponse
<
Object
>
share
(
CustomerQO
qo
,
String
imgJson
)
{
public
RestResponse
<
Object
>
share
(
CustomerQO
qo
,
String
imgJson
,
Long
contentMaterialId
)
{
String
clerkId
=
qo
.
getClerkId
();
String
wxEnterpriseId
=
qo
.
getWxEnterpriseId
();
String
enterpriseId
=
qo
.
getEnterpriseId
();
...
...
@@ -135,6 +136,7 @@ public class QwMessageController extends WebBaseController {
json
.
put
(
"sendType"
,
2
);
json
.
put
(
"wxEnterpriseId"
,
wxEnterpriseId
);
json
.
put
(
"content"
,
qo
.
getContent
())
;
json
.
put
(
"contentMaterialId"
,
contentMaterialId
)
;
String
ret
=
json
.
toJSONString
();
try
{
GICMQClientUtil
.
getClientInstance
().
sendCommonMessage
(
"haobanCommonRouter"
,
ret
,
...
...
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