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
b6ed928b
Commit
b6ed928b
authored
May 15, 2025
by
fanjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推客分佣单入库
parent
ba055d39
Pipeline
#75522
passed with stages
in 1 minute 4 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
WebConfig.java
...netease/yanxuan/wx/store/sharer/biz/config/WebConfig.java
+1
-1
TestController.java
...anxuan/wx/store/sharer/web/controller/TestController.java
+15
-2
No files found.
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/config/WebConfig.java
View file @
b6ed928b
...
...
@@ -22,7 +22,7 @@ public class WebConfig implements WebMvcConfigurer {
private
final
UserInterceptor
userInterceptor
;
private
static
final
String
[]
EXCLUDE_URLS
=
{
"/i/health"
,
"/sharer/open/**"
,
"/sharer/test/**"
,
"/sharer/open/**"
,
"/sharer/test/**"
,
"/sharer/sms/sendSmsCode"
,
"/sharer/user/login"
,
"/sharer/product/page/list"
};
@Override
...
...
yanxuan-wx-store-sharer-web/src/main/java/com/netease/yanxuan/wx/store/sharer/web/controller/TestController.java
View file @
b6ed928b
...
...
@@ -6,9 +6,12 @@
*/
package
com
.
netease
.
yanxuan
.
wx
.
store
.
sharer
.
web
.
controller
;
import
com.netease.yanxuan.wx.store.sharer.biz.core.LoginUserHelper
;
import
com.netease.yanxuan.wx.store.sharer.biz.service.ICommissionOrderService
;
import
com.netease.yanxuan.wx.store.sharer.common.core.Result
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
/**
...
...
@@ -18,6 +21,15 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping
(
"/sharer/test"
)
@RequiredArgsConstructor
public
class
TestController
{
private
final
LoginUserHelper
loginUserHelper
;
private
final
ICommissionOrderService
iCommissionOrderService
;
/**
* 登录
*/
@GetMapping
(
"/syncCommissionOrder"
)
public
Result
<
Void
>
syncCommissionOrder
(
@RequestParam
(
"startTime"
)
Long
startTime
,
@RequestParam
(
"endTime"
)
Long
endTime
)
{
iCommissionOrderService
.
doCommissionOrderSync
(
startTime
,
endTime
);
return
Result
.
ok
();
}
}
\ No newline at end of file
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