Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-wx-store-sharer
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
wx
yanxuan-wx-store-sharer
Commits
f9f09dc2
Commit
f9f09dc2
authored
Mar 12, 2025
by
fanjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
放开权限,联调
parent
98f0a948
Pipeline
#71480
passed with stages
in 1 minute 1 second
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
15 deletions
+2
-15
pom.xml
pom.xml
+0
-13
UserServiceImpl.java
...uan/wx/store/sharer/biz/service/impl/UserServiceImpl.java
+2
-2
No files found.
pom.xml
View file @
f9f09dc2
...
...
@@ -63,7 +63,6 @@
<druid.version>
1.2.8
</druid.version>
<mybatis.plus.version>
3.4.3.4
</mybatis.plus.version>
<satoken.version>
1.33.0
</satoken.version>
</properties>
<!-- 子模块可选依赖 -->
...
...
@@ -280,13 +279,6 @@
<artifactId>
guava
</artifactId>
<version>
${guava.version}
</version>
</dependency>
<!-- Sa-Token 权限认证(Reactor响应式集成), 在线文档:http://sa-token.dev33.cn/ -->
<dependency>
<groupId>
cn.dev33
</groupId>
<artifactId>
sa-token-reactor-spring-boot-starter
</artifactId>
<version>
${satoken.version}
</version>
</dependency>
</dependencies>
</dependencyManagement>
...
...
@@ -407,11 +399,6 @@
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
</dependency>
<dependency>
<groupId>
cn.dev33
</groupId>
<artifactId>
sa-token-reactor-spring-boot-starter
</artifactId>
</dependency>
</dependencies>
<repositories>
...
...
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/service/impl/UserServiceImpl.java
View file @
f9f09dc2
package
com
.
netease
.
yanxuan
.
wx
.
store
.
sharer
.
biz
.
service
.
impl
;
import
cn.dev33.satoken.stp.StpUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.netease.yanxuan.wx.store.sharer.biz.config.DrmSharerConfig
;
...
...
@@ -31,6 +30,7 @@ import org.springframework.util.CollectionUtils;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.util.UUID
;
/**
* @Description 用户-业务实现类
...
...
@@ -71,7 +71,7 @@ public class UserServiceImpl implements IUserService {
sharerInfoMapper
.
insert
(
sharerInfo
);
}
// 生成token
String
token
=
StpUtil
.
getTokenValue
();
String
token
=
UUID
.
randomUUID
().
toString
();
LoginUserInfo
loginUserInfo
=
new
LoginUserInfo
();
loginUserInfo
.
setAccessToken
(
token
);
loginUserInfo
.
setOpenId
(
sharerInfo
.
getOpenId
());
...
...
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