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
cde2136e
Commit
cde2136e
authored
Jul 25, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关注记录日志
parent
ee53cfd3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
11 deletions
+10
-11
ch-core/src/main/java/com/wwdz/ch/core/api/OfficialAccountApi.java
...rc/main/java/com/wwdz/ch/core/api/OfficialAccountApi.java
+0
-1
ch-dao/src/main/resources/generatorConfig_new.xml
ch-dao/src/main/resources/generatorConfig_new.xml
+4
-4
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/CollectionItemsRelationServiceImpl.java
...impl/distribution/CollectionItemsRelationServiceImpl.java
+1
-1
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
...wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
+4
-4
ch-wx-api/src/test/java/com/wwdz/ch/wx/api/WxPayServiceTest.java
...pi/src/test/java/com/wwdz/ch/wx/api/WxPayServiceTest.java
+1
-1
No files found.
ch-core/src/main/java/com/wwdz/ch/core/api/OfficialAccountApi.java
View file @
cde2136e
...
...
@@ -38,7 +38,6 @@ public class OfficialAccountApi {
private
final
static
String
GET_JSAPI_TICKET
=
"https://api.weixin.qq.com/cgi-bin/ticket/getticket"
;
/**
* 测试环境和正式环境的url不同,相互隔离不会冲突
*/
...
...
ch-dao/src/main/resources/generatorConfig_new.xml
View file @
cde2136e
...
...
@@ -63,16 +63,16 @@
<!--生成Model类存放位置-->
<javaModelGenerator
targetPackage=
"com.wwdz.ch.db.domain
.distribution
"
targetProject=
"ch-dao/src/main/java"
>
<javaModelGenerator
targetPackage=
"com.wwdz.ch.db.domain"
targetProject=
"ch-dao/src/main/java"
>
<property
name=
"enableSubPackages"
value=
"true"
/>
<property
name=
"trimStrings"
value=
"true"
/>
</javaModelGenerator>
<sqlMapGenerator
targetPackage=
"com.wwdz.ch.db.mapper
.distribution
"
targetProject=
"ch-dao/src/main/resources"
/>
<javaClientGenerator
type=
"XMLMAPPER"
targetPackage=
"com.wwdz.ch.db.mapper
.distribution
"
<sqlMapGenerator
targetPackage=
"com.wwdz.ch.db.mapper"
targetProject=
"ch-dao/src/main/resources"
/>
<javaClientGenerator
type=
"XMLMAPPER"
targetPackage=
"com.wwdz.ch.db.mapper"
targetProject=
"ch-dao/src/main/java"
/>
<table
tableName=
"
user_bill
"
enableCountByExample=
"true"
enableUpdateByExample=
"true"
enableDeleteByExample=
"true"
enableSelectByExample=
"true"
selectByExampleQueryId=
"true"
>
<table
tableName=
"
collector_white_list
"
enableCountByExample=
"true"
enableUpdateByExample=
"true"
enableDeleteByExample=
"true"
enableSelectByExample=
"true"
selectByExampleQueryId=
"true"
>
<generatedKey
column=
"id"
sqlStatement=
"Mysql"
identity=
"true"
/>
</table>
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/CollectionItemsRelationServiceImpl.java
View file @
cde2136e
...
...
@@ -120,7 +120,7 @@ public class CollectionItemsRelationServiceImpl implements CollectionItemsRelati
followFansRecordRequestDto
.
setFansId
(
dto
.
getUserId
());
followFansRecordRequestDto
.
setIntroducerId
(
CommConsts
.
SYSTEM_ACCOUNT
);
followFansRecordService
.
follow
(
followFansRecordRequestDto
);
logger
.
info
(
"用户id:{} 关注了 用户id为 {}, 介绍人为 {}"
,
dto
.
getUserId
(),
searchUserId
,
dto
.
getUserId
()
);
logger
.
info
(
"用户id:{} 关注了 用户id为 {}, 介绍人为 {}"
,
dto
.
getUserId
(),
searchUserId
,
CommConsts
.
SYSTEM_ACCOUNT
);
}
}
else
{
return
Result
.
failed
(
"targetUserId不能为空"
);
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
View file @
cde2136e
...
...
@@ -536,7 +536,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
long
introducerId
=
CommConsts
.
SYSTEM_ACCOUNT
;
if
(
StringUtils
.
isEmpty
(
shareRecordId
)
&&
dto
.
getId
()
==
null
)
{
return
Result
.
failed
(
"商品信息为空"
);
}
else
if
(
StringUtils
.
hasLength
(
shareRecordId
)
&&
!
shareRecordId
.
equals
(
CommConsts
.
DEFAULT_SHARE_ID
))
{
}
else
if
(
StringUtils
.
hasLength
(
shareRecordId
)
&&
!
shareRecordId
.
equals
(
CommConsts
.
DEFAULT_SHARE_ID
))
{
collectionShareRecord
=
collectionShareRecordDao
.
findById
(
dto
.
getShareRecordId
());
introducerId
=
collectionShareRecord
.
getSharerId
();
itemId
=
collectionShareRecord
.
getShareTargetId
();
...
...
@@ -549,9 +549,9 @@ public class SupplierItemServiceImpl implements SupplierItemService {
followFansRecordRequestDto
.
setIntroducerId
(
introducerId
);
Result
followResult
=
followFansRecordService
.
follow
(
followFansRecordRequestDto
);
if
(
followResult
.
getSuccess
())
{
logger
.
info
(
"
通过藏品详情分享点击,用户id:{} 关注了 用户id为 {}, 介绍人为
"
,
dto
.
getUserId
(),
collectionShareRecord
.
getItemUserId
(),
collectionShareRecord
.
getSharerId
());
logger
.
info
(
"
查询拍卖商品详情api-通过藏品详情分享点击,用户id:{} 关注了 用户id为 {}, 介绍人为{}
"
,
dto
.
getUserId
(),
collectionShareRecord
.
getItemUserId
(),
collectionShareRecord
.
getSharerId
());
}
else
{
logger
.
info
(
"通过藏品详情分享点击关注用户返回信息 : {}"
+
followResult
.
getErrmsg
());
logger
.
info
(
"
查询拍卖商品详情api-
通过藏品详情分享点击关注用户返回信息 : {}"
+
followResult
.
getErrmsg
());
}
}
}
else
{
...
...
@@ -845,7 +845,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
followFansRecordRequestDto
.
setFansId
(
dto
.
getUserId
());
followFansRecordRequestDto
.
setIntroducerId
(
collectionShareRecord
.
getSharerId
());
followFansRecordService
.
follow
(
followFansRecordRequestDto
);
logger
.
info
(
"
通过藏品详情分享点击,用户id:{} 关注了 用户id为 {}, 介绍人为
"
,
dto
.
getUserId
(),
collectionShareRecord
.
getItemUserId
(),
collectionShareRecord
.
getSharerId
());
logger
.
info
(
"
查询藏家商品详情api-通过藏品详情分享点击,用户id:{} 关注了 用户id为 {}, 介绍人为{}
"
,
dto
.
getUserId
(),
collectionShareRecord
.
getItemUserId
(),
collectionShareRecord
.
getSharerId
());
}
}
supplierItemVo
.
setIsCollected
(
true
);
...
...
ch-wx-api/src/test/java/com/wwdz/ch/wx/api/WxPayServiceTest.java
View file @
cde2136e
...
...
@@ -89,7 +89,7 @@ public class WxPayServiceTest {
@Test
public
void
refund
()
{
List
<
String
>
list
=
Arrays
.
asList
(
"DA24071
61530475539946"
,
"DA2407161638434429860
"
);
List
<
String
>
list
=
Arrays
.
asList
(
"DA24071
71559445071432
"
);
list
.
forEach
(
orderId
->{
DistributionOrderRequestDto
dto
=
new
DistributionOrderRequestDto
();
dto
.
setDistributionOrderId
(
orderId
);
...
...
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