Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
qinhaitao
taobao-mini-template
Commits
1e081524
Commit
1e081524
authored
Nov 09, 2020
by
qinhaitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改路径
parent
3858a3a8
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
13 additions
and
12 deletions
+13
-12
awards.controller.ts
v2.0/src/controller/awards.controller.ts
+1
-1
base.controller.ts
v2.0/src/controller/base.controller.ts
+1
-1
game.controller.ts
v2.0/src/controller/game.controller.ts
+1
-1
login.controller.ts
v2.0/src/controller/login.controller.ts
+1
-1
share.controller.ts
v2.0/src/controller/share.controller.ts
+1
-1
stat.controller.ts
v2.0/src/controller/stat.controller.ts
+1
-1
task.controller.ts
v2.0/src/controller/task.controller.ts
+2
-2
user.controller.ts
v2.0/src/controller/user.controller.ts
+1
-1
preUpdate.ts
v2.0/src/decorator/common/preUpdate.ts
+1
-1
registeInfos.ts
v2.0/src/decorator/common/registeInfos.ts
+1
-1
services.ts
v2.0/src/decorator/common/services.ts
+1
-1
game.service.ts
v2.0/src/service/common/game.service.ts
+1
-0
No files found.
v2.0/src/controller/awards.controller.ts
View file @
1e081524
...
...
@@ -2,7 +2,7 @@
import
{
services
,
checkParams
,
registeInfos
}
from
'../decorator/common'
import
{
resultsModel
}
from
'../sdk'
import
{
AwardsService
}
from
'../service'
import
{
AwardsService
}
from
'../service
/common
'
import
preCheck
from
'../decorator/common/preCheck'
import
{
checkActivityTime
,
...
...
v2.0/src/controller/base.controller.ts
View file @
1e081524
...
...
@@ -2,7 +2,7 @@
import
{
services
,
checkParams
,
registeInfos
,
noCheckUser
}
from
'../decorator/common'
import
{
resultsModel
}
from
'../sdk'
import
{
BaseService
}
from
'../service'
import
{
BaseService
}
from
'../service
/common
'
export
default
class
BaseController
{
/**
* 活动基本信息
...
...
v2.0/src/controller/game.controller.ts
View file @
1e081524
...
...
@@ -2,7 +2,7 @@
import
{
services
,
checkParams
,
preCheck
,
preUpdate
}
from
'../decorator/common'
import
{
resultsModel
}
from
'../sdk'
import
{
UserService
,
GameService
}
from
'../service'
import
{
UserService
,
GameService
}
from
'../service
/common
'
import
{
checkActivityTime
,
checkJoinId
,
checkUserInfo
,
checkVip
}
from
'../utils/common/check'
import
{
updateUserInfo
}
from
'../utils/common/update'
...
...
v2.0/src/controller/login.controller.ts
View file @
1e081524
...
...
@@ -2,7 +2,7 @@
import
{
services
,
checkParams
,
registeInfos
,
preUpdate
}
from
'../decorator/common'
import
{
resultsModel
}
from
'../sdk'
import
{
UserService
,
AccessService
}
from
'../service'
import
{
UserService
,
AccessService
}
from
'../service
/common
'
import
{
noCheckUser
}
from
'../decorator/common'
export
default
class
LoginController
{
/**
...
...
v2.0/src/controller/share.controller.ts
View file @
1e081524
...
...
@@ -2,7 +2,7 @@
import
{
services
,
preCheck
,
registeInfos
,
preUpdate
,
checkParams
}
from
'../decorator/common/'
import
{
resultsModel
}
from
'../sdk'
import
{
UserService
,
StatService
,
TaskService
}
from
'../service'
import
{
UserService
,
StatService
,
TaskService
}
from
'../service
/common
'
import
{
STAT_TYPE
}
from
'../constants'
import
{
checkActivityTime
,
checkInviteId
,
checkHelpRecord
,
checkNewVip
}
from
'../utils/common/check'
import
{
updateVip
}
from
'../utils/common/update/'
...
...
v2.0/src/controller/stat.controller.ts
View file @
1e081524
...
...
@@ -2,7 +2,7 @@
import
{
resultsModel
}
from
'../sdk'
import
{
checkParams
,
services
}
from
'../decorator/common'
import
{
StatService
}
from
'../service'
import
{
StatService
}
from
'../service
/common
'
/** @format */
export
default
class
StatController
{
...
...
v2.0/src/controller/task.controller.ts
View file @
1e081524
...
...
@@ -2,8 +2,8 @@
import
{
checkParams
,
services
,
registeInfos
,
preCheck
}
from
'../decorator/common'
import
{
resultsModel
}
from
'../sdk'
import
{
TaskService
,
BaseService
}
from
'../service'
import
{
ITaskInfo
}
from
'../service/task.service'
import
{
TaskService
,
BaseService
}
from
'../service
/common
'
import
{
ITaskInfo
}
from
'../service/
common/
task.service'
import
{
checkActivityTime
,
checkTaskLimit
,
checkExchangeCreditsTask
,
checkRemainTimes
}
from
'../utils/common/check/'
import
{
preUpdate
}
from
'../decorator/common'
import
{
updateVip
,
updateSignTask
,
updateOrderGoods
}
from
'../utils/common/update'
...
...
v2.0/src/controller/user.controller.ts
View file @
1e081524
...
...
@@ -2,7 +2,7 @@
import
{
services
,
checkParams
,
registeInfos
}
from
'../decorator/common'
import
{
resultsModel
}
from
'../sdk'
import
{
UserService
}
from
'../service'
import
{
UserService
}
from
'../service
/common
'
interface
IRankList
{
userNick
:
string
...
...
v2.0/src/decorator/common/preUpdate.ts
View file @
1e081524
/** @format */
import
{
isEmpty
,
merge
}
from
'lodash'
import
{
UserService
}
from
'../../service'
import
{
UserService
}
from
'../../service
/common
'
import
{
recordErrorLog
}
from
'../../utils/common/logger'
import
{
resultsModel
}
from
'../../sdk'
import
{
CODE_TYPES
}
from
'../../errorCode'
...
...
v2.0/src/decorator/common/registeInfos.ts
View file @
1e081524
/** @format */
import
{
UserService
,
BaseService
}
from
'../../service'
import
{
UserService
,
BaseService
}
from
'../../service
/common
'
import
{
getSellerSession
}
from
'../../utils'
import
{
formatVipCbUrl
,
getShopVip
}
from
'../../utils/common/vip'
import
{
CODE_TYPES
}
from
'../../errorCode'
...
...
v2.0/src/decorator/common/services.ts
View file @
1e081524
...
...
@@ -4,7 +4,7 @@ import { logFn, recordErrorLog } from '../../utils'
import
{
resultsModel
}
from
'../../sdk'
import
{
CODE_TYPES
}
from
'../../constants'
import
{
doHandler
}
from
'../../utils/'
import
{
UserService
,
BaseService
}
from
'../../service'
import
{
UserService
,
BaseService
}
from
'../../service
/common
'
type
Constructor
=
new
(...
args
:
any
[])
=>
{}
...
...
v2.0/src/service/common/game.service.ts
View file @
1e081524
...
...
@@ -8,6 +8,7 @@ import { BaseDao, TBAPIS } from '../../sdk'
import
{
JOIN_DB_NAME
}
from
'../../db'
import
{
ACTIVITY_STATUS
}
from
'../../constants'
import
{
getToday
}
from
'../../utils'
import
UserService
from
'./user.service'
export
default
class
GameService
extends
UserService
{
context
:
IContext
<
IParams
>
...
...
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