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
673a188c
Commit
673a188c
authored
Sep 01, 2020
by
qinhaitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
🎸
sdk 升级版本
parent
1b77b166
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
10 deletions
+17
-10
awards.controller.d.ts
v2.0/dist/controller/awards.controller.d.ts
+2
-2
stat.controller.d.ts
v2.0/dist/controller/stat.controller.d.ts
+1
-1
package.json
v2.0/package.json
+1
-1
yarn.lock
v2.0/yarn.lock
+13
-6
No files found.
v2.0/dist/controller/awards.controller.d.ts
View file @
673a188c
...
@@ -29,11 +29,11 @@ export default class AwardsController {
...
@@ -29,11 +29,11 @@ export default class AwardsController {
/**
/**
* 权益重新领取
* 权益重新领取
*/
*/
receiveEnamePrize
(
context
:
IContext
<
IReceiveEnameParams
>
,
{}:
{},
[
awardSer
]:
[
AwardsService
]):
Promise
<
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
any
,
false
>
|
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
{},
true
>>
;
receiveEnamePrize
(
context
:
IContext
<
IReceiveEnameParams
>
,
{}:
{},
[
awardSer
]:
[
AwardsService
]):
Promise
<
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
string
|
boolean
|
object
|
object
[]
|
number
[]
|
string
[]
,
false
>
|
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
{},
true
>>
;
/**
/**
* 概率抽奖
* 概率抽奖
*/
*/
drawLotteryPrize
(
context
:
IContext
<
IParams
>
,
{
userInfo
}:
IControllerInfos
,
[
awardSer
]:
[
AwardsService
]):
Promise
<
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
any
,
false
>
|
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
{
drawLotteryPrize
(
context
:
IContext
<
IParams
>
,
{
userInfo
}:
IControllerInfos
,
[
awardSer
]:
[
AwardsService
]):
Promise
<
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
string
|
boolean
|
object
|
object
[]
|
number
[]
|
string
[]
,
false
>
|
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
{
data
:
{
data
:
{
type
:
number
;
type
:
number
;
name
:
string
;
name
:
string
;
...
...
v2.0/dist/controller/stat.controller.d.ts
View file @
673a188c
...
@@ -9,6 +9,6 @@ export default class StatController {
...
@@ -9,6 +9,6 @@ export default class StatController {
/**
/**
* 统计数据
* 统计数据
*/
*/
getStats
(
context
:
IContext
<
IStatsParams
>
):
Promise
<
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
any
[],
true
>
|
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
any
,
fals
e
>>
;
getStats
(
context
:
IContext
<
IStatsParams
>
):
Promise
<
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
string
|
boolean
|
object
|
object
[]
|
number
[]
|
string
[],
false
>
|
import
(
"taobao-mini-sdk/lib/utils/resultmodel"
).
Result
<
any
[],
tru
e
>>
;
}
}
export
{};
export
{};
v2.0/package.json
View file @
673a188c
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
"lodash"
:
"^4.17.20"
,
"lodash"
:
"^4.17.20"
,
"node-xlsx"
:
"^0.15.0"
,
"node-xlsx"
:
"^0.15.0"
,
"source-map-support"
:
"^0.5.19"
,
"source-map-support"
:
"^0.5.19"
,
"taobao-mini-sdk"
:
"^0.
1.6
"
"taobao-mini-sdk"
:
"^0.
2.1
"
},
},
"scripts"
:
{
"scripts"
:
{
"start"
:
"tsc"
,
"start"
:
"tsc"
,
...
...
v2.0/yarn.lock
View file @
673a188c
...
@@ -52,13 +52,18 @@
...
@@ -52,13 +52,18 @@
"@types/mongodb@^3.5.26":
"@types/mongodb@^3.5.26":
version "3.5.26"
version "3.5.26"
resolved "https://registry.npm.taobao.org/@types/mongodb/download/@types/mongodb-3.5.26.tgz
?cache=0&sync_timestamp=1597563376772&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fmongodb%2Fdownload%2F%40types%2Fmongodb-3.5.26.tgz
#aa10315925ba10cdc7931ef280c0ff6f54fd37f3"
resolved "https://registry.npm.taobao.org/@types/mongodb/download/@types/mongodb-3.5.26.tgz#aa10315925ba10cdc7931ef280c0ff6f54fd37f3"
integrity sha1-qhAxWSW6EM3Hkx7ygMD/b1T9N/M=
integrity sha1-qhAxWSW6EM3Hkx7ygMD/b1T9N/M=
dependencies:
dependencies:
"@types/bson" "*"
"@types/bson" "*"
"@types/node" "*"
"@types/node" "*"
"@types/node@*", "@types/node@^14.6.0":
"@types/node@*":
version "14.6.2"
resolved "https://registry.npm.taobao.org/@types/node/download/@types/node-14.6.2.tgz?cache=0&sync_timestamp=1598656851627&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fnode%2Fdownload%2F%40types%2Fnode-14.6.2.tgz#264b44c5a28dfa80198fc2f7b6d3c8a054b9491f"
integrity sha1-JktExaKN+oAZj8L3ttPIoFS5SR8=
"@types/node@^14.6.0":
version "14.6.0"
version "14.6.0"
resolved "https://registry.npm.taobao.org/@types/node/download/@types/node-14.6.0.tgz?cache=0&sync_timestamp=1597673176468&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fnode%2Fdownload%2F%40types%2Fnode-14.6.0.tgz#7d4411bf5157339337d7cff864d9ff45f177b499"
resolved "https://registry.npm.taobao.org/@types/node/download/@types/node-14.6.0.tgz?cache=0&sync_timestamp=1597673176468&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fnode%2Fdownload%2F%40types%2Fnode-14.6.0.tgz#7d4411bf5157339337d7cff864d9ff45f177b499"
integrity sha1-fUQRv1FXM5M318/4ZNn/RfF3tJk=
integrity sha1-fUQRv1FXM5M318/4ZNn/RfF3tJk=
...
@@ -882,10 +887,12 @@ table@^5.2.3:
...
@@ -882,10 +887,12 @@ table@^5.2.3:
slice-ansi "^2.1.0"
slice-ansi "^2.1.0"
string-width "^3.0.0"
string-width "^3.0.0"
taobao-mini-sdk@0.1.6:
taobao-mini-sdk@^0.2.1:
version "0.1.6"
version "0.2.1"
resolved "https://registry.npm.taobao.org/taobao-mini-sdk/download/taobao-mini-sdk-0.1.6.tgz#cc20f10879a1b872a7358d24efc426fda104fce7"
resolved "https://registry.npm.taobao.org/taobao-mini-sdk/download/taobao-mini-sdk-0.2.1.tgz#cbaaa5a2ca96437ca2a0e7c81eaf31f043d243ef"
integrity sha1-zCDxCHmhuHKnNY0k78Qm/aEE/Oc=
integrity sha1-y6qlosqWQ3yioOfIHq8x8EPSQ+8=
dependencies:
"@types/mongodb" "^3.5.26"
text-table@^0.2.0:
text-table@^0.2.0:
version "0.2.0"
version "0.2.0"
...
...
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