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
d37265f6
Commit
d37265f6
authored
Jan 26, 2021
by
王波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化ts
parent
66629755
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
registeInfos.ts
v2.0/src/decorator/common/registeInfos.ts
+1
-1
index.ts
v2.0/src/service/common/index.ts
+0
-1
index.d.ts
v2.0/src/typings/index.d.ts
+3
-3
No files found.
v2.0/src/decorator/common/registeInfos.ts
View file @
d37265f6
/** @format */
/** @format */
import
{
CommonUserService
,
CommonBaseService
}
from
'../../service/common'
import
{
CommonUserService
,
CommonBaseService
}
from
'../../service/common'
import
{
getSellerSession
,
getUserOrderlist
,
getTask
}
from
'../../utils'
import
{
getSellerSession
,
getUserOrderlist
,
getTask
}
from
'../../utils'
import
{
formatVipCbUrl
,
getShopVip
}
from
'../../utils/common/vip'
import
{
formatVipCbUrl
,
getShopVip
}
from
'../../utils/common/vip'
import
{
CODE_TYPES
}
from
'../../errorCode'
import
{
CODE_TYPES
}
from
'../../errorCode'
import
{
resultsModel
,
TBAPIS
}
from
'../../sdk'
import
{
resultsModel
,
TBAPIS
}
from
'../../sdk'
...
...
v2.0/src/service/common/index.ts
View file @
d37265f6
...
@@ -10,7 +10,6 @@ import CommonGameService from './game.service'
...
@@ -10,7 +10,6 @@ import CommonGameService from './game.service'
import
CommonSignService
from
'./sign.service'
import
CommonSignService
from
'./sign.service'
import
CommonGrowTaskService
from
'./growTask.service'
import
CommonGrowTaskService
from
'./growTask.service'
const
common
=
{
const
common
=
{
CommonAccessService
,
CommonAccessService
,
CommonBaseService
,
CommonBaseService
,
...
...
v2.0/src/typings/index.d.ts
View file @
d37265f6
...
@@ -30,7 +30,7 @@ interface IControllerInfos {
...
@@ -30,7 +30,7 @@ interface IControllerInfos {
session
?:
string
session
?:
string
credits
?:
number
credits
?:
number
taobaoOrderist
?:
ITaoBaoOrders
[]
taobaoOrderist
?:
ITaoBaoOrders
[]
task
:
ITask
task
?
:
ITask
}
}
interface
ICheckControllerInfos
extends
IControllerInfos
{
interface
ICheckControllerInfos
extends
IControllerInfos
{
...
@@ -53,9 +53,9 @@ interface IVipInfo {
...
@@ -53,9 +53,9 @@ interface IVipInfo {
}
}
interface
ITask
{
interface
ITask
{
_id
?:
string
_id
?:
string
openId
?:
string
openId
?:
string
activityId
?:
string
activityId
?:
string
taskInfo
?:
any
taskInfo
?:
any
createDay
?:
string
createDay
?:
string
createTime
?:
number
createTime
?:
number
...
...
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