UNPKG
@jdlinker/linker
Version:
latest (3.5.0)
3.5.0
3.4.9
3.4.7
3.4.5
3.4.4
3.4.3
3.4.1
3.4.0
3.3.9
3.3.5
3.3.4
3.3.3
3.3.0
3.2.9
3.2.8
3.2.7
3.2.6
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.1.7
3.1.6
3.1.5
3.1.1
3.1.0
3.0.9
3.0.8
3.0.5
3.0.4
jdLinker 系统模块
@jdlinker/linker
/
src
/
api
/
data-collect
/
dashboard.ts
6 lines
(3 loc)
•
250 B
text/typescript
View Raw
1
2
3
4
5
6
import
{ defHttp }
from
'@jdlinker/func'
;
export
const
queryCount
= (
type
:
string
,
data
:
any
) => defHttp.
post
({
url
:
`/data-collect/
${
type
}
/_count`
, data });
export
const
dashboard
= (
data
:
any
) => defHttp.
post
({
url
:
`/dashboard/_multi`
, data });