Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
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
reyun
manager
Commits
0d1277f3
Commit
0d1277f3
authored
Apr 22, 2020
by
kangxiaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理404
parent
12552de8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
0 deletions
+57
-0
AdsAccountController.java
src/main/java/track/controller/AdsAccountController.java
+39
-0
TrackAccountService.java
src/main/java/track/service/TrackAccountService.java
+4
-0
TrackAccountServiceImpl.java
...main/java/track/service/impl/TrackAccountServiceImpl.java
+14
-0
No files found.
src/main/java/track/controller/AdsAccountController.java
0 → 100644
View file @
0d1277f3
package
track
.
controller
;
import
common.model.*
;
import
dic.OperateObjectTypeEnum
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.*
;
import
security.annotation.CurrentAccount
;
import
track.service.TrackAccountService
;
import
util.ResultModel
;
import
util.ResultStatus
;
import
util.UserLogThread
;
import
javax.servlet.http.HttpServletRequest
;
/**
* Created by mxq on 2017/12/21.
*/
@Controller
public
class
AdsAccountController
{
@Autowired
TrackAccountService
tkioAccountService
;
//客户列表
@RequestMapping
(
value
=
"/ads/marketing/accountmng/findAll"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
public
ResultModel
findAds
(
@CurrentAccount
User
loginAccount
)
{
return
ResultModel
.
OK
(
tkioAccountService
.
findAllAds
(
loginAccount
));
}
@RequestMapping
(
value
=
"/abtest/marketing/accountmng/findAll"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
public
ResultModel
findAbTest
(
@CurrentAccount
User
loginAccount
)
{
return
ResultModel
.
OK
(
tkioAccountService
.
findAllAbTest
(
loginAccount
));
}
}
src/main/java/track/service/TrackAccountService.java
View file @
0d1277f3
...
@@ -45,4 +45,8 @@ public interface TrackAccountService {
...
@@ -45,4 +45,8 @@ public interface TrackAccountService {
List
<
Contract
>
findContract
(
String
email
);
List
<
Contract
>
findContract
(
String
email
);
List
<
ContractChange
>
findContractChange
(
String
email
,
String
startDate
,
String
endDate
);
List
<
ContractChange
>
findContractChange
(
String
email
,
String
startDate
,
String
endDate
);
List
<
TrackAccount4Web
>
findAllAds
(
User
loginAccount
);
List
<
TrackAccount4Web
>
findAllAbTest
(
User
loginAccount
);
}
}
src/main/java/track/service/impl/TrackAccountServiceImpl.java
View file @
0d1277f3
...
@@ -109,6 +109,20 @@ public class TrackAccountServiceImpl implements TrackAccountService{
...
@@ -109,6 +109,20 @@ public class TrackAccountServiceImpl implements TrackAccountService{
}
}
@Override
@Override
public
List
<
TrackAccount4Web
>
findAllAds
(
User
loginAccount
)
{
//暂时解决404
List
<
TrackAccount4Web
>
result
=
new
ArrayList
<>();
return
result
;
}
@Override
public
List
<
TrackAccount4Web
>
findAllAbTest
(
User
loginAccount
)
{
//暂时解决404
List
<
TrackAccount4Web
>
result
=
new
ArrayList
<>();
return
result
;
}
@Override
public
TrackAccount4Web
findOne
(
String
email
)
{
public
TrackAccount4Web
findOne
(
String
email
)
{
List
<
Reminder
>
reminderList
=
reminderRepository
.
findAllDistinct
(
"track"
);
List
<
Reminder
>
reminderList
=
reminderRepository
.
findAllDistinct
(
"track"
);
Map
<
Long
,
Boolean
>
reMap
=
new
HashMap
<>();
Map
<
Long
,
Boolean
>
reMap
=
new
HashMap
<>();
...
...
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