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
43e53752
Commit
43e53752
authored
Sep 08, 2020
by
qinhaitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor:
💡
统一B&C 任务字段
parent
99fbf783
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
39 deletions
+21
-39
constants.d.ts
server/duibats/dist/constants.d.ts
+3
-3
constants.js
server/duibats/dist/constants.js
+7
-16
constants.js.map
server/duibats/dist/constants.js.map
+1
-1
constants.ts
server/duibats/src/constants.ts
+7
-16
activity.d.ts
server/duibats/src/typings/activity.d.ts
+3
-3
No files found.
server/duibats/dist/constants.d.ts
View file @
43e53752
...
@@ -221,11 +221,11 @@ export declare const DELETE_STATUS: {
...
@@ -221,11 +221,11 @@ export declare const DELETE_STATUS: {
DELETE
:
number
;
DELETE
:
number
;
};
};
export
declare
const
TASK_TYPE_TEXT
:
{
export
declare
const
TASK_TYPE_TEXT
:
{
beMembership
:
string
;
member
:
string
;
attentionStore
:
string
;
follow
:
string
;
sign
:
string
;
sign
:
string
;
exchangeCredits
:
string
;
exchangeCredits
:
string
;
invite
Friend
s
:
string
;
invites
:
string
;
orderGoods
:
string
;
orderGoods
:
string
;
browseGoods
:
string
;
browseGoods
:
string
;
jumpLink
:
string
;
jumpLink
:
string
;
...
...
server/duibats/dist/constants.js
View file @
43e53752
...
@@ -168,11 +168,11 @@ exports.DELETE_STATUS = {
...
@@ -168,11 +168,11 @@ exports.DELETE_STATUS = {
DELETE
:
2
DELETE
:
2
};
};
exports
.
TASK_TYPE_TEXT
=
{
exports
.
TASK_TYPE_TEXT
=
{
beMembership
:
'成为会员'
,
member
:
'成为会员'
,
attentionStore
:
'关注店铺'
,
follow
:
'关注店铺'
,
sign
:
'签到'
,
sign
:
'签到'
,
exchangeCredits
:
'兑换积分'
,
exchangeCredits
:
'兑换积分'
,
invite
Friend
s
:
'邀请好友'
,
invites
:
'邀请好友'
,
orderGoods
:
'下单商品'
,
orderGoods
:
'下单商品'
,
browseGoods
:
'浏览商品'
,
browseGoods
:
'浏览商品'
,
jumpLink
:
'跳转链接'
,
jumpLink
:
'跳转链接'
,
...
@@ -180,30 +180,21 @@ exports.TASK_TYPE_TEXT = {
...
@@ -180,30 +180,21 @@ exports.TASK_TYPE_TEXT = {
};
};
exports
.
TASK_CHECK_TYPE
=
{
exports
.
TASK_CHECK_TYPE
=
{
value
:
{
value
:
{
list
:
[
list
:
[
'member'
,
'follow'
,
'sign'
,
'exchangeCredits'
,
'invites'
,
'orderGoods'
,
'jumpLink'
,
'collectGoods'
],
'beMembership'
,
'attentionStore'
,
'sign'
,
'exchangeCredits'
,
'inviteFriends'
,
'orderGoods'
,
'jumpLink'
,
'collectGoods'
],
reg
:
/
[
1-99
]
/
,
reg
:
/
[
1-99
]
/
,
regName
:
'1-99之内'
regName
:
'1-99之内'
},
},
times
:
{
times
:
{
list
:
[
'exchangeCredits'
,
'invite
Friend
s'
,
'orderGoods'
,
'browseGoods'
,
'jumpLink'
,
'collectGoods'
]
list
:
[
'exchangeCredits'
,
'invites'
,
'orderGoods'
,
'browseGoods'
,
'jumpLink'
,
'collectGoods'
]
},
},
title
:
{
title
:
{
list
:
[
'invite
Friend
s'
,
'orderGoods'
,
'browseGoods'
,
'jumpLink'
,
'collectGoods'
]
list
:
[
'invites'
,
'orderGoods'
,
'browseGoods'
,
'jumpLink'
,
'collectGoods'
]
},
},
itemIds
:
{
itemIds
:
{
list
:
[
'orderGoods'
,
'browseGoods'
,
'collectGoods'
]
list
:
[
'orderGoods'
,
'browseGoods'
,
'collectGoods'
]
},
},
taskRateType
:
{
taskRateType
:
{
list
:
[
'invite
Friend
s'
,
'orderGoods'
,
'browseGoods'
,
'collectGoods'
]
list
:
[
'invites'
,
'orderGoods'
,
'browseGoods'
,
'collectGoods'
]
},
},
link
:
{
list
:
[
'jumpLink'
]
}
link
:
{
list
:
[
'jumpLink'
]
}
};
};
...
...
server/duibats/dist/constants.js.map
View file @
43e53752
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";AAAA,cAAc;;;AAEd,6BAA0C;AAE7B,QAAA,aAAa,GAAG;IAC3B,iBAAiB;IACjB,kBAAkB,EAAE;QAClB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,0BAAM;KACnB;IACD,QAAQ;IACR,iBAAiB,EAAE;QACjB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,gCAAO;KACpB;IACD,QAAQ;IACR,sBAAsB,EAAE;QACtB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,gCAAO;KACpB;IACD,QAAQ;IACR,mBAAmB,EAAE;QACnB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,gCAAO;KACpB;IACD,QAAQ;IACR,aAAa,EAAE;QACb,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,gCAAO;KACpB;IACD,cAAc;IACd,uBAAuB,EAAE;QACvB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,aAAa;KAC1B;IACD,QAAQ;IACR,YAAY,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,OAAO;KACpB;IACD,UAAU;IACV,yBAAyB,EAAE;QACzB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,4CAAS;KACtB;IACD,QAAQ;IACR,mBAAmB,EAAE;QACnB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,gCAAO;KACpB;I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AAY;IACZ,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,OAAO;IACP,WAAW;IACX,WAAW;IACX,cAAc;IACd,eAAe;IACf,UAAU;IACV,cAAc;IACd,cAAc;IACd,cAAc;IACd,aAAa;IACb,cAAc;IACd,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,gBAAgB;IAChB,WAAW;IACX,OAAO;IACP,WAAW;IACX,gBAAgB;IAChB,mBAAmB;IACnB,WAAW;IACX,aAAa;IACb,aAAa;IACb,iBAAiB;IACjB,WAAW;IACX,WAAW;IACX,gBAAgB;IAChB,YAAY;IACZ,YAAY;IACZ,WAAW;CACZ,CAAA;AAED,gBAAgB;AACH,QAAA,YAAY,GAAW,qBAAqB,CAAA;AAE5C,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,cAAc;IACvB,WAAW,EAAE,gBAAgB;IAC7B,gBAAgB,EAAE,OAAO;CAC1B,CAAA"}
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";AAAA,cAAc;;;AAEd,6BAA0C;AAE7B,QAAA,aAAa,GAAG;IAC3B,iBAAiB;IACjB,kBAAkB,EAAE;QAClB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,0BAAM;KACnB;IACD,QAAQ;IACR,iBAAiB,EAAE;QACjB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,gCAAO;KACpB;IACD,QAAQ;IACR,sBAAsB,EAAE;QACtB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,gCAAO;KACpB;IACD,QAAQ;IACR,mBAAmB,EAAE;QACnB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,gCAAO;KACpB;IACD,QAAQ;IACR,aAAa,EAAE;QACb,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,gCAAO;KACpB;IACD,cAAc;IACd,uBAAuB,EAAE;QACvB,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,aAAa;KAC1B;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ACD,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,UAAU,CAAC,EAAE;CAC7B,CAAA;AAEY,QAAA,aAAa,GAAa;IACrC,SAAS;IACT,UAAU;IACV,YAAY;IACZ,aAAa;IACb,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,eAAe;IACf,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,YAAY;IACZ,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,OAAO;IACP,WAAW;IACX,WAAW;IACX,cAAc;IACd,eAAe;IACf,UAAU;IACV,cAAc;IACd,cAAc;IACd,cAAc;IACd,aAAa;IACb,cAAc;IACd,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,gBAAgB;IAChB,WAAW;IACX,OAAO;IACP,WAAW;IACX,gBAAgB;IAChB,mBAAmB;IACnB,WAAW;IACX,aAAa;IACb,aAAa;IACb,iBAAiB;IACjB,WAAW;IACX,WAAW;IACX,gBAAgB;IAChB,YAAY;IACZ,YAAY;IACZ,WAAW;CACZ,CAAA;AAED,gBAAgB;AACH,QAAA,YAAY,GAAW,qBAAqB,CAAA;AAE5C,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,cAAc;IACvB,WAAW,EAAE,gBAAgB;IAC7B,gBAAgB,EAAE,OAAO;CAC1B,CAAA"}
\ No newline at end of file
\ No newline at end of file
server/duibats/src/constants.ts
View file @
43e53752
...
@@ -178,11 +178,11 @@ export const DELETE_STATUS = {
...
@@ -178,11 +178,11 @@ export const DELETE_STATUS = {
}
}
export
const
TASK_TYPE_TEXT
=
{
export
const
TASK_TYPE_TEXT
=
{
beMembership
:
'成为会员'
,
member
:
'成为会员'
,
attentionStore
:
'关注店铺'
,
follow
:
'关注店铺'
,
sign
:
'签到'
,
sign
:
'签到'
,
exchangeCredits
:
'兑换积分'
,
exchangeCredits
:
'兑换积分'
,
invite
Friend
s
:
'邀请好友'
,
invites
:
'邀请好友'
,
orderGoods
:
'下单商品'
,
orderGoods
:
'下单商品'
,
browseGoods
:
'浏览商品'
,
browseGoods
:
'浏览商品'
,
jumpLink
:
'跳转链接'
,
jumpLink
:
'跳转链接'
,
...
@@ -191,30 +191,21 @@ export const TASK_TYPE_TEXT = {
...
@@ -191,30 +191,21 @@ export const TASK_TYPE_TEXT = {
export
const
TASK_CHECK_TYPE
=
{
export
const
TASK_CHECK_TYPE
=
{
value
:
{
value
:
{
list
:
[
list
:
[
'member'
,
'follow'
,
'sign'
,
'exchangeCredits'
,
'invites'
,
'orderGoods'
,
'jumpLink'
,
'collectGoods'
],
'beMembership'
,
'attentionStore'
,
'sign'
,
'exchangeCredits'
,
'inviteFriends'
,
'orderGoods'
,
'jumpLink'
,
'collectGoods'
],
reg
:
/
[
1-99
]
/
,
reg
:
/
[
1-99
]
/
,
regName
:
'1-99之内'
regName
:
'1-99之内'
},
},
times
:
{
times
:
{
list
:
[
'exchangeCredits'
,
'invite
Friend
s'
,
'orderGoods'
,
'browseGoods'
,
'jumpLink'
,
'collectGoods'
]
list
:
[
'exchangeCredits'
,
'invites'
,
'orderGoods'
,
'browseGoods'
,
'jumpLink'
,
'collectGoods'
]
},
},
title
:
{
title
:
{
list
:
[
'invite
Friend
s'
,
'orderGoods'
,
'browseGoods'
,
'jumpLink'
,
'collectGoods'
]
list
:
[
'invites'
,
'orderGoods'
,
'browseGoods'
,
'jumpLink'
,
'collectGoods'
]
},
},
itemIds
:
{
itemIds
:
{
list
:
[
'orderGoods'
,
'browseGoods'
,
'collectGoods'
]
list
:
[
'orderGoods'
,
'browseGoods'
,
'collectGoods'
]
},
},
taskRateType
:
{
taskRateType
:
{
list
:
[
'invite
Friend
s'
,
'orderGoods'
,
'browseGoods'
,
'collectGoods'
]
list
:
[
'invites'
,
'orderGoods'
,
'browseGoods'
,
'collectGoods'
]
},
},
link
:
{
list
:
[
'jumpLink'
]
}
link
:
{
list
:
[
'jumpLink'
]
}
}
}
...
...
server/duibats/src/typings/activity.d.ts
View file @
43e53752
...
@@ -40,15 +40,15 @@ interface IActivityPrize {
...
@@ -40,15 +40,15 @@ interface IActivityPrize {
}
}
interface
ITasks
{
interface
ITasks
{
attentionStore
?:
ITaskConfig
follow
?:
ITaskConfig
beMembership
?:
ITaskConfig
member
?:
ITaskConfig
sign
?:
ITaskConfig
sign
?:
ITaskConfig
exchangeCredits
?:
ITaskConfig
exchangeCredits
?:
ITaskConfig
browseGoods
?:
ITaskConfig
browseGoods
?:
ITaskConfig
orderGoods
?:
ITaskConfig
orderGoods
?:
ITaskConfig
collectGoods
?:
ITaskConfig
collectGoods
?:
ITaskConfig
jumpLink
?:
ITaskConfig
jumpLink
?:
ITaskConfig
invite
Friend
s
?:
ITaskConfig
invites
?:
ITaskConfig
}
}
interface
ITaskConfig
{
interface
ITaskConfig
{
...
...
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