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
1484c1ff
Commit
1484c1ff
authored
Jun 25, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拍品分享链接创建不用传shopId
parent
0c3c79f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/DistributorShareRecordServiceImpl.java
.../impl/distribution/DistributorShareRecordServiceImpl.java
+2
-2
ch-wx-api/src/main/java/com/wwdz/ch/wx/job/SpecialPerformanceNoticeJob.java
.../java/com/wwdz/ch/wx/job/SpecialPerformanceNoticeJob.java
+6
-0
ch-wx-api/src/main/java/com/wwdz/ch/wx/web/distribution/DistributorShareRecordController.java
...wx/web/distribution/DistributorShareRecordController.java
+0
-2
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/DistributorShareRecordServiceImpl.java
View file @
1484c1ff
...
@@ -73,7 +73,7 @@ public class DistributorShareRecordServiceImpl implements DistributorShareRecord
...
@@ -73,7 +73,7 @@ public class DistributorShareRecordServiceImpl implements DistributorShareRecord
distributorShareRecord
.
setItemId
(
dto
.
getItemId
());
distributorShareRecord
.
setItemId
(
dto
.
getItemId
());
distributorShareRecord
.
setPrice
(
PriceUtil
.
convertPriceFromStr
(
dto
.
getPrice
()));
distributorShareRecord
.
setPrice
(
PriceUtil
.
convertPriceFromStr
(
dto
.
getPrice
()));
distributorShareRecord
.
setDistributorId
(
dto
.
getDistributorId
());
distributorShareRecord
.
setDistributorId
(
dto
.
getDistributorId
());
distributorShareRecord
.
setShopId
(
dto
.
get
Shop
Id
());
distributorShareRecord
.
setShopId
(
dto
.
get
Distributor
Id
());
distributorShareRecord
.
setCreateTime
(
new
Date
());
distributorShareRecord
.
setCreateTime
(
new
Date
());
distributorShareRecord
.
setEnabled
(
true
);
distributorShareRecord
.
setEnabled
(
true
);
distributorShareRecord
.
setType
(
DistributionEnum
.
DistributionTypeEnum
.
FIXED_PRICE
.
getCode
());
distributorShareRecord
.
setType
(
DistributionEnum
.
DistributionTypeEnum
.
FIXED_PRICE
.
getCode
());
...
@@ -107,7 +107,7 @@ public class DistributorShareRecordServiceImpl implements DistributorShareRecord
...
@@ -107,7 +107,7 @@ public class DistributorShareRecordServiceImpl implements DistributorShareRecord
//商品的起拍价
//商品的起拍价
distributorShareRecord
.
setPrice
(
auctionConfig
.
getStartPrice
());
distributorShareRecord
.
setPrice
(
auctionConfig
.
getStartPrice
());
distributorShareRecord
.
setDistributorId
(
dto
.
getDistributorId
());
distributorShareRecord
.
setDistributorId
(
dto
.
getDistributorId
());
distributorShareRecord
.
setShopId
(
dto
.
get
Shop
Id
());
distributorShareRecord
.
setShopId
(
dto
.
get
Distributor
Id
());
distributorShareRecord
.
setCreateTime
(
new
Date
());
distributorShareRecord
.
setCreateTime
(
new
Date
());
distributorShareRecord
.
setEnabled
(
true
);
distributorShareRecord
.
setEnabled
(
true
);
distributorShareRecord
.
setType
(
DistributionEnum
.
DistributionTypeEnum
.
AUCTION
.
getCode
());
distributorShareRecord
.
setType
(
DistributionEnum
.
DistributionTypeEnum
.
AUCTION
.
getCode
());
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/job/SpecialPerformanceNoticeJob.java
View file @
1484c1ff
...
@@ -117,6 +117,12 @@ public class SpecialPerformanceNoticeJob {
...
@@ -117,6 +117,12 @@ public class SpecialPerformanceNoticeJob {
logger
.
info
(
">>>>>>>>>>>>>>>>>>>>>>> dev环境, 不执行专场即将开始通知任务<<<<<<<<<<<<<<<<<<<<<"
);
logger
.
info
(
">>>>>>>>>>>>>>>>>>>>>>> dev环境, 不执行专场即将开始通知任务<<<<<<<<<<<<<<<<<<<<<"
);
return
;
return
;
}
}
//正式环境测试, 不发送消息
if
(
true
)
{
logger
.
info
(
">>>>>>>>>>>>>>>>>>>>>>> 正式环境测试, 不执行专场即将开始通知任务<<<<<<<<<<<<<<<<<<<<<"
);
return
;
}
logger
.
info
(
"当前即将开始的专场id:{}, 名称为 {} "
,
specialPerformance
.
getId
(),
specialPerformance
.
getTitle
());
logger
.
info
(
"当前即将开始的专场id:{}, 名称为 {} "
,
specialPerformance
.
getId
(),
specialPerformance
.
getTitle
());
//发送短信通知
//发送短信通知
String
url
=
wxAppletApi
.
getUrlLink
(
SPECIAL_PERFORMANCE_URL
,
"specialId="
+
specialPerformance
.
getId
());
String
url
=
wxAppletApi
.
getUrlLink
(
SPECIAL_PERFORMANCE_URL
,
"specialId="
+
specialPerformance
.
getId
());
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/web/distribution/DistributorShareRecordController.java
View file @
1484c1ff
...
@@ -37,7 +37,6 @@ public class DistributorShareRecordController {
...
@@ -37,7 +37,6 @@ public class DistributorShareRecordController {
validator
.
set
(
"itemId"
,
"商品id"
).
must
().
number
()
validator
.
set
(
"itemId"
,
"商品id"
).
must
().
number
()
.
set
(
"price"
,
"商品销售价"
).
must
().
string
()
.
set
(
"price"
,
"商品销售价"
).
must
().
string
()
.
set
(
"distributorId"
,
"分销商id"
).
must
().
number
()
.
set
(
"distributorId"
,
"分销商id"
).
must
().
number
()
.
set
(
"shopId"
,
"分销商店铺id"
).
must
().
number
()
.
end
();
.
end
();
if
(!
validator
.
isValid
())
{
if
(!
validator
.
isValid
())
{
return
Result
.
failed
(
validator
.
getErrorInfo
());
return
Result
.
failed
(
validator
.
getErrorInfo
());
...
@@ -53,7 +52,6 @@ public class DistributorShareRecordController {
...
@@ -53,7 +52,6 @@ public class DistributorShareRecordController {
Validator
validator
=
new
Validator
(
FormHandler
.
ofEntity
(
dto
));
Validator
validator
=
new
Validator
(
FormHandler
.
ofEntity
(
dto
));
validator
.
set
(
"itemId"
,
"商品id"
).
must
().
number
()
validator
.
set
(
"itemId"
,
"商品id"
).
must
().
number
()
.
set
(
"distributorId"
,
"分销商id"
).
must
().
number
()
.
set
(
"distributorId"
,
"分销商id"
).
must
().
number
()
.
set
(
"shopId"
,
"分销商店铺id"
).
must
().
number
()
.
end
();
.
end
();
if
(!
validator
.
isValid
())
{
if
(!
validator
.
isValid
())
{
return
Result
.
failed
(
validator
.
getErrorInfo
());
return
Result
.
failed
(
validator
.
getErrorInfo
());
...
...
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