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
012e8254
Commit
012e8254
authored
Dec 27, 2017
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
track客户管理
parent
46942da2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
12 deletions
+19
-12
workspace.xml
.idea/workspace.xml
+0
-0
AuthorizationInterceptor.java
...n/java/security/interceptor/AuthorizationInterceptor.java
+2
-3
TrackAccountController.java
src/main/java/track/controller/TrackAccountController.java
+2
-9
TrackAccountServiceImpl.java
...main/java/track/service/impl/TrackAccountServiceImpl.java
+1
-0
createdFiles.lst
...-compiler-plugin/compile/default-compile/createdFiles.lst
+14
-0
inputFiles.lst
...en-compiler-plugin/compile/default-compile/inputFiles.lst
+0
-0
No files found.
.idea/workspace.xml
View file @
012e8254
This diff is collapsed.
Click to expand it.
src/main/java/security/interceptor/AuthorizationInterceptor.java
View file @
012e8254
...
@@ -39,7 +39,7 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {
...
@@ -39,7 +39,7 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {
public
boolean
preHandle
(
HttpServletRequest
request
,
HttpServletResponse
response
,
Object
handler
)
{
public
boolean
preHandle
(
HttpServletRequest
request
,
HttpServletResponse
response
,
Object
handler
)
{
//放开登录
//放开登录
/*
if (request.getRequestURL().indexOf("login/login") != -1){
if
(
request
.
getRequestURL
().
indexOf
(
"login/login"
)
!=
-
1
){
return
true
;
return
true
;
}
}
//从header中得到token
//从header中得到token
...
@@ -61,8 +61,7 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {
...
@@ -61,8 +61,7 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {
}
}
return
true
;
return
true
;
}
}
return false;*/
return
false
;
return
true
;
}
}
private
String
getCookieToken
(
Cookie
[]
cookies
,
String
name
){
private
String
getCookieToken
(
Cookie
[]
cookies
,
String
name
){
...
...
src/main/java/track/controller/TrackAccountController.java
View file @
012e8254
...
@@ -9,6 +9,7 @@ import org.springframework.stereotype.Controller;
...
@@ -9,6 +9,7 @@ import org.springframework.stereotype.Controller;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
security.annotation.CurrentAccount
;
import
security.annotation.CurrentAccount
;
import
tkio.service.TkioAccountService
;
import
tkio.service.TkioAccountService
;
import
track.service.TrackAccountService
;
import
util.ResultModel
;
import
util.ResultModel
;
/**
/**
...
@@ -19,7 +20,7 @@ import util.ResultModel;
...
@@ -19,7 +20,7 @@ import util.ResultModel;
public
class
TrackAccountController
{
public
class
TrackAccountController
{
@Autowired
@Autowired
T
kio
AccountService
tkioAccountService
;
T
rack
AccountService
tkioAccountService
;
//客户列表
//客户列表
@RequestMapping
(
value
=
"/findAll"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/findAll"
,
method
=
RequestMethod
.
GET
)
...
@@ -68,14 +69,6 @@ public class TrackAccountController {
...
@@ -68,14 +69,6 @@ public class TrackAccountController {
return
ResultModel
.
OK
(
tkioAccountService
.
findFunTimes
(
accountId
,
startDate
,
endDate
));
return
ResultModel
.
OK
(
tkioAccountService
.
findFunTimes
(
accountId
,
startDate
,
endDate
));
}
}
//功能使用查询
@RequestMapping
(
value
=
"/find/pv/{accountId}"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
public
ResultModel
pv
(
@CurrentAccount
User
loginAccount
,
@RequestParam
String
startDate
,
@RequestParam
String
endDate
,
@PathVariable
Long
accountId
)
{
return
ResultModel
.
OK
(
tkioAccountService
.
findPv
(
accountId
,
startDate
,
endDate
));
}
//到期提醒查询
//到期提醒查询
@RequestMapping
(
value
=
"/find/reminder/{accountId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/find/reminder/{accountId}"
,
method
=
RequestMethod
.
GET
)
...
...
src/main/java/track/service/impl/TrackAccountServiceImpl.java
View file @
012e8254
...
@@ -132,6 +132,7 @@ public class TrackAccountServiceImpl implements TrackAccountService{
...
@@ -132,6 +132,7 @@ public class TrackAccountServiceImpl implements TrackAccountService{
Map
<
String
,
Integer
>
result
=
new
HashMap
<>();
Map
<
String
,
Integer
>
result
=
new
HashMap
<>();
List
<
Account
>
accountList
=
accountRepository
.
findByParent
(
account
);
List
<
Account
>
accountList
=
accountRepository
.
findByParent
(
account
);
List
<
Long
>
idList
=
new
ArrayList
<>();
List
<
Long
>
idList
=
new
ArrayList
<>();
idList
.
add
(
account
);
for
(
Account
ac
:
accountList
){
for
(
Account
ac
:
accountList
){
idList
.
add
(
ac
.
getId
());
idList
.
add
(
ac
.
getId
());
}
}
...
...
target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
View file @
012e8254
...
@@ -2,6 +2,7 @@ common\model\BackVisit.class
...
@@ -2,6 +2,7 @@ common\model\BackVisit.class
security\TokenManager.class
security\TokenManager.class
tkio\controller\TkioAccountController.class
tkio\controller\TkioAccountController.class
tkio\model\UserLog.class
tkio\model\UserLog.class
track\controller\TrackAccountController.class
dmp\model\TagCrawlerAppsWandoujia.class
dmp\model\TagCrawlerAppsWandoujia.class
util\ValidateUtil.class
util\ValidateUtil.class
tkio\repository\CampaignRepository.class
tkio\repository\CampaignRepository.class
...
@@ -9,16 +10,19 @@ util\HttpClientUtil.class
...
@@ -9,16 +10,19 @@ util\HttpClientUtil.class
common\model\Auth.class
common\model\Auth.class
tkio\repository\AccountRepository.class
tkio\repository\AccountRepository.class
common\model\Menu.class
common\model\Menu.class
track\repository\TrackAppRepository.class
exception\GlobalExceptionAdvice.class
exception\GlobalExceptionAdvice.class
tkio\model\Campaign.class
tkio\model\Campaign.class
security\RedisTokenManager.class
security\RedisTokenManager.class
tkio\model\Account.class
tkio\model\Account.class
security\AbstractTokenManager.class
security\AbstractTokenManager.class
track\repository\TrackAccountRepository.class
common\model\UserLog.class
common\model\UserLog.class
security\exception\MethodNotSupportException.class
security\exception\MethodNotSupportException.class
tkio\repository\SalesManLeaderRepository.class
tkio\repository\SalesManLeaderRepository.class
tkio\model\RoleAuth.class
tkio\model\RoleAuth.class
common\service\impl\AppServiceImpl$1.class
common\service\impl\AppServiceImpl$1.class
track\model\Account.class
common\controller\UserController.class
common\controller\UserController.class
exception\TipException.class
exception\TipException.class
common\context\AppUtils.class
common\context\AppUtils.class
...
@@ -26,6 +30,7 @@ util\RedisUtilNew.class
...
@@ -26,6 +30,7 @@ util\RedisUtilNew.class
tkio\task\SyncAppDataTask.class
tkio\task\SyncAppDataTask.class
common\model\User.class
common\model\User.class
tkio\repository\IsNotifiedRepository.class
tkio\repository\IsNotifiedRepository.class
track\repository\TrackChannelRepository.class
tkio\service\impl\TkioAccountServiceImpl.class
tkio\service\impl\TkioAccountServiceImpl.class
util\DateUtil.class
util\DateUtil.class
common\model\AppCategory.class
common\model\AppCategory.class
...
@@ -49,8 +54,11 @@ common\model\City.class
...
@@ -49,8 +54,11 @@ common\model\City.class
common\service\impl\AppServiceImpl.class
common\service\impl\AppServiceImpl.class
common\repository\ReminderRepository.class
common\repository\ReminderRepository.class
util\StringUtil.class
util\StringUtil.class
track\model\Channel.class
track\model\Campaign.class
security\interceptor\AuthorizationInterceptor.class
security\interceptor\AuthorizationInterceptor.class
security\annotation\CurrentAccount.class
security\annotation\CurrentAccount.class
track\model\App.class
common\model\AppInfo.class
common\model\AppInfo.class
common\service\impl\UserServiceImpl.class
common\service\impl\UserServiceImpl.class
util\IP.class
util\IP.class
...
@@ -59,6 +67,7 @@ tkio\model\RoleAuthDetail.class
...
@@ -59,6 +67,7 @@ tkio\model\RoleAuthDetail.class
util\CharacterUtils.class
util\CharacterUtils.class
tkio\repository\PackageTypeRepository.class
tkio\repository\PackageTypeRepository.class
util\Constant.class
util\Constant.class
common\repository\TrackAccount4WebRepository.class
common\repository\BackVisitRepository.class
common\repository\BackVisitRepository.class
common\repository\RoleTypeRepository.class
common\repository\RoleTypeRepository.class
tkio\service\AccountFlowRestrictService.class
tkio\service\AccountFlowRestrictService.class
...
@@ -66,6 +75,7 @@ util\UserLogThread.class
...
@@ -66,6 +75,7 @@ util\UserLogThread.class
tkio\model\DataAuth.class
tkio\model\DataAuth.class
common\model\KeyValue.class
common\model\KeyValue.class
common\repository\UserRepository.class
common\repository\UserRepository.class
track\repository\TrackCampaignRepository.class
util\ResultModel.class
util\ResultModel.class
dic\RoleEnum.class
dic\RoleEnum.class
util\CipherUtil.class
util\CipherUtil.class
...
@@ -73,6 +83,7 @@ common\controller\UserLogController.class
...
@@ -73,6 +83,7 @@ common\controller\UserLogController.class
tkio\model\App.class
tkio\model\App.class
security\resolvers\LoginUserMethodArgumentsResolver.class
security\resolvers\LoginUserMethodArgumentsResolver.class
tkio\service\TkioAccountService.class
tkio\service\TkioAccountService.class
common\model\TrackAccount4Web.class
common\model\RoleType.class
common\model\RoleType.class
tkio\task\AccountTask.class
tkio\task\AccountTask.class
security\annotation\Authorization.class
security\annotation\Authorization.class
...
@@ -84,10 +95,12 @@ common\service\MenuService.class
...
@@ -84,10 +95,12 @@ common\service\MenuService.class
common\repository\AppCategoryRepository.class
common\repository\AppCategoryRepository.class
tkio\repository\AppRepository.class
tkio\repository\AppRepository.class
common\service\impl\UserLogServiceImpl.class
common\service\impl\UserLogServiceImpl.class
track\service\impl\TrackAccountServiceImpl.class
dmp\repository\TagCrawlerAppsWandoujiaRepository.class
dmp\repository\TagCrawlerAppsWandoujiaRepository.class
security\RedisLoginStatusManagerImpl.class
security\RedisLoginStatusManagerImpl.class
tkio\model\AccountRestrict4Web.class
tkio\model\AccountRestrict4Web.class
dic\OperateObjectTypeEnum.class
dic\OperateObjectTypeEnum.class
track\service\TrackAccountService.class
common\service\UserService.class
common\service\UserService.class
common\service\AppService.class
common\service\AppService.class
common\service\UserLogService.class
common\service\UserLogService.class
...
@@ -102,4 +115,5 @@ common\model\Email.class
...
@@ -102,4 +115,5 @@ common\model\Email.class
security\cors\CorsFilter.class
security\cors\CorsFilter.class
util\ResultStatus.class
util\ResultStatus.class
tkio\model\IsNotified.class
tkio\model\IsNotified.class
track\task\AccountTask.class
tkio\model\Auth.class
tkio\model\Auth.class
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
View file @
012e8254
This diff is collapsed.
Click to expand it.
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