Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
ae0ba311
Commit
ae0ba311
authored
Feb 20, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发送模板消息2
parent
e23405bf
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
4 deletions
+12
-4
ch-core/src/main/resources/application-dev.yml
ch-core/src/main/resources/application-dev.yml
+1
-1
ch-core/src/main/resources/application-prod.yml
ch-core/src/main/resources/application-prod.yml
+1
-1
ch-wx-api/src/main/java/com/wwdz/ch/wx/config/WebMvcConfiguration.java
.../main/java/com/wwdz/ch/wx/config/WebMvcConfiguration.java
+1
-1
ch-wx-api/src/main/java/com/wwdz/ch/wx/entity/DeliveryNoticeMsg.java
...rc/main/java/com/wwdz/ch/wx/entity/DeliveryNoticeMsg.java
+3
-1
ch-wx-api/src/main/java/com/wwdz/ch/wx/entity/PayNoticeMsg.java
...api/src/main/java/com/wwdz/ch/wx/entity/PayNoticeMsg.java
+3
-0
ch-wx-api/src/main/java/com/wwdz/ch/wx/entity/SignedNoticeMsg.java
.../src/main/java/com/wwdz/ch/wx/entity/SignedNoticeMsg.java
+3
-0
No files found.
ch-core/src/main/resources/application-dev.yml
View file @
ae0ba311
...
@@ -35,7 +35,7 @@ dts:
...
@@ -35,7 +35,7 @@ dts:
#分销单支付成功通知模板
#分销单支付成功通知模板
pay-templetId
:
X38RkH7DtKNDHUMa2P6XXqrEmkHIEvbpTWTr7Mkf2fM
pay-templetId
:
X38RkH7DtKNDHUMa2P6XXqrEmkHIEvbpTWTr7Mkf2fM
#分销单发货成功通知模板
#分销单发货成功通知模板
delivery-templetId
:
8apEOIXxlLHrEQ20a-o_P
HXogGtgKHu25zHzFg3RPeI
delivery-templetId
:
8apEOIXxlLHrEQ20a-o_P
AgyU0lCzbWB85vM3wB6HRY
#分销订单确认收货通知模板
#分销订单确认收货通知模板
signed-templetId
:
k2dPOA4wvLPGf_4z76sGoA2KXHQWGEWpYT_imXlOpJI
signed-templetId
:
k2dPOA4wvLPGf_4z76sGoA2KXHQWGEWpYT_imXlOpJI
...
...
ch-core/src/main/resources/application-prod.yml
View file @
ae0ba311
...
@@ -26,7 +26,7 @@ dts:
...
@@ -26,7 +26,7 @@ dts:
#分销单支付成功通知模板
#分销单支付成功通知模板
pay-templetId
:
X38RkH7DtKNDHUMa2P6XXqrEmkHIEvbpTWTr7Mkf2fM
pay-templetId
:
X38RkH7DtKNDHUMa2P6XXqrEmkHIEvbpTWTr7Mkf2fM
#分销单发货成功通知模板
#分销单发货成功通知模板
delivery-templetId
:
8apEOIXxlLHrEQ20a-o_P
HXogGtgKHu25zHzFg3RPeI
delivery-templetId
:
8apEOIXxlLHrEQ20a-o_P
AgyU0lCzbWB85vM3wB6HRY
#分销订单确认收货通知模板
#分销订单确认收货通知模板
signed-templetId
:
k2dPOA4wvLPGf_4z76sGoA2KXHQWGEWpYT_imXlOpJI
signed-templetId
:
k2dPOA4wvLPGf_4z76sGoA2KXHQWGEWpYT_imXlOpJI
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/config/WebMvcConfiguration.java
View file @
ae0ba311
...
@@ -42,7 +42,7 @@ public class WebMvcConfiguration implements WebMvcConfigurer {
...
@@ -42,7 +42,7 @@ public class WebMvcConfiguration implements WebMvcConfigurer {
"/officialAccountCallback/**"
,
"/wxPayCallback/**"
,
"/officialAccountCallback/**"
,
"/wxPayCallback/**"
,
"/imCallback/**"
,
"/wx/category/**"
,
"/imCallback/**"
,
"/wx/category/**"
,
"/wx/consignSale/**"
,
"/wx/item/**"
,
"/wx/consignSale/**"
,
"/wx/item/**"
,
"/wx/returnOrder/**"
"/wx/returnOrder/**"
,
"/wx/distributionOrder/confirmSigned"
,
"/wx/distributionOrder/delivery"
,
"/wx/distributionOrder/cancel"
// , "/wx/supplierItem/**", "/wx/shareRecord/**", "/wx/distributionOrder/**", "/wx/selfPage/**"
// , "/wx/supplierItem/**", "/wx/shareRecord/**", "/wx/distributionOrder/**", "/wx/selfPage/**"
/* "/wx/officialAccount/**",
/* "/wx/officialAccount/**",
"/wx/item/**",
"/wx/item/**",
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/entity/DeliveryNoticeMsg.java
View file @
ae0ba311
...
@@ -46,9 +46,11 @@ public class DeliveryNoticeMsg implements Entity, AbstractSubscribeMsg {
...
@@ -46,9 +46,11 @@ public class DeliveryNoticeMsg implements Entity, AbstractSubscribeMsg {
public
Map
<
String
,
Object
>
getTempletParam
()
{
public
Map
<
String
,
Object
>
getTempletParam
()
{
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
map
.
put
(
"character_string3"
,
new
HashMap
(){{
put
(
"value"
,
distributionOrderId
);}});
map
.
put
(
"character_string3"
,
new
HashMap
(){{
put
(
"value"
,
distributionOrderId
);}});
if
(
itemName
.
length
()
>
20
)
{
itemName
=
itemName
.
substring
(
0
,
20
);
}
map
.
put
(
"thing14"
,
new
HashMap
(){{
put
(
"value"
,
itemName
);}});
map
.
put
(
"thing14"
,
new
HashMap
(){{
put
(
"value"
,
itemName
);}});
map
.
put
(
"character_string8"
,
new
HashMap
(){{
put
(
"value"
,
waybill
);}});
map
.
put
(
"character_string8"
,
new
HashMap
(){{
put
(
"value"
,
waybill
);}});
map
.
put
(
"thing17"
,
new
HashMap
(){{
put
(
"value"
,
address
);}});
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy年MM月dd日 HH:mm:ss"
,
Locale
.
CHINESE
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy年MM月dd日 HH:mm:ss"
,
Locale
.
CHINESE
);
String
formattedDate
=
sdf
.
format
(
deliveryTime
);
String
formattedDate
=
sdf
.
format
(
deliveryTime
);
map
.
put
(
"time10"
,
new
HashMap
(){{
put
(
"value"
,
formattedDate
);}});
map
.
put
(
"time10"
,
new
HashMap
(){{
put
(
"value"
,
formattedDate
);}});
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/entity/PayNoticeMsg.java
View file @
ae0ba311
...
@@ -46,6 +46,9 @@ public class PayNoticeMsg implements Entity, AbstractSubscribeMsg {
...
@@ -46,6 +46,9 @@ public class PayNoticeMsg implements Entity, AbstractSubscribeMsg {
public
Map
<
String
,
Object
>
getTempletParam
()
{
public
Map
<
String
,
Object
>
getTempletParam
()
{
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
map
.
put
(
"character_string2"
,
new
HashMap
(){{
put
(
"value"
,
distributionOrderId
);}});
map
.
put
(
"character_string2"
,
new
HashMap
(){{
put
(
"value"
,
distributionOrderId
);}});
if
(
itemName
.
length
()
>
20
)
{
itemName
=
itemName
.
substring
(
0
,
20
);
}
map
.
put
(
"thing6"
,
new
HashMap
(){{
put
(
"value"
,
itemName
);}});
map
.
put
(
"thing6"
,
new
HashMap
(){{
put
(
"value"
,
itemName
);}});
map
.
put
(
"number8"
,
new
HashMap
(){{
put
(
"value"
,
itemNum
);}});
map
.
put
(
"number8"
,
new
HashMap
(){{
put
(
"value"
,
itemNum
);}});
map
.
put
(
"amount12"
,
new
HashMap
(){{
put
(
"value"
,
amount
);}});
map
.
put
(
"amount12"
,
new
HashMap
(){{
put
(
"value"
,
amount
);}});
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/entity/SignedNoticeMsg.java
View file @
ae0ba311
...
@@ -41,6 +41,9 @@ public class SignedNoticeMsg implements Entity, AbstractSubscribeMsg {
...
@@ -41,6 +41,9 @@ public class SignedNoticeMsg implements Entity, AbstractSubscribeMsg {
public
Map
<
String
,
Object
>
getTempletParam
()
{
public
Map
<
String
,
Object
>
getTempletParam
()
{
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
Map
<
String
,
Object
>
map
=
new
LinkedHashMap
<>();
map
.
put
(
"character_string5"
,
new
HashMap
(){{
put
(
"value"
,
distributionOrderId
);}});
map
.
put
(
"character_string5"
,
new
HashMap
(){{
put
(
"value"
,
distributionOrderId
);}});
if
(
itemName
.
length
()
>
20
)
{
itemName
=
itemName
.
substring
(
0
,
20
);
}
map
.
put
(
"thing1"
,
new
HashMap
(){{
put
(
"value"
,
itemName
);}});
map
.
put
(
"thing1"
,
new
HashMap
(){{
put
(
"value"
,
itemName
);}});
map
.
put
(
"amount2"
,
new
HashMap
(){{
put
(
"value"
,
amount
);}});
map
.
put
(
"amount2"
,
new
HashMap
(){{
put
(
"value"
,
amount
);}});
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy年MM月dd日 HH:mm:ss"
,
Locale
.
CHINESE
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy年MM月dd日 HH:mm:ss"
,
Locale
.
CHINESE
);
...
...
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