Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-lib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
郑磊
web-lib
Commits
f2a064fe
Commit
f2a064fe
authored
Mar 11, 2026
by
郑磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c62943b8
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
13 deletions
+12
-13
index.ts
miniapp-internal/index.ts
+3
-4
environment.ts
miniapp/environment.ts
+2
-2
native-api.ts
miniapp/native-api.ts
+2
-2
tsconfig.json
tsconfig.json
+1
-1
api.ts
web/api.ts
+0
-0
cookie.ts
web/cookie.ts
+0
-0
environment.ts
web/environment.ts
+0
-0
helpers.ts
web/helpers.ts
+0
-0
index.ts
web/index.ts
+4
-4
native-api-base.ts
web/native-api-base.ts
+0
-0
native-api.ts
web/native-api.ts
+0
-0
token.ts
web/token.ts
+0
-0
No files found.
miniapp-internal/index.ts
View file @
f2a064fe
export
*
from
'../base/api'
export
{
can_use_iap
,
room_number
,
source
}
from
'../base/environment'
export
{
app_token
}
from
'../base/token'
export
*
from
'../miniapp'
export
*
from
'../web'
export
*
from
'../miniapp/environment'
export
*
from
'../miniapp/native-api'
miniapp/environment.ts
View file @
f2a064fe
import
{
getCookie
}
from
'../
base
/cookie'
import
{
getCookie
}
from
'../
web
/cookie'
export
{
type
DeviceType
,
device
,
in_app
,
lang
}
from
'../
base
/environment'
export
{
type
DeviceType
,
device
,
in_app
,
lang
}
from
'../
web
/environment'
/**
* 当前轻应用的appid
...
...
miniapp/native-api.ts
View file @
f2a064fe
import
{
callNativeAsyncApi
}
from
'../
base
/native-api-base'
import
{
callNativeAsyncApi
}
from
'../
web
/native-api-base'
import
{
appid
,
openid
,
room_openid
}
from
'./environment'
export
*
from
'../
base
/native-api'
export
*
from
'../
web
/native-api'
/**
* 发起支付的请求数据
...
...
tsconfig.json
View file @
f2a064fe
...
...
@@ -11,5 +11,5 @@
"skipLibCheck"
:
true
,
"useUnknownInCatchVariables"
:
true
},
"include"
:
[
"
base
"
,
"miniapp"
,
"miniapp-internal"
,
"web"
]
"include"
:
[
"
web
"
,
"miniapp"
,
"miniapp-internal"
,
"web"
]
}
base
/api.ts
→
web
/api.ts
View file @
f2a064fe
File moved
base
/cookie.ts
→
web
/cookie.ts
View file @
f2a064fe
File moved
base
/environment.ts
→
web
/environment.ts
View file @
f2a064fe
File moved
base
/helpers.ts
→
web
/helpers.ts
View file @
f2a064fe
File moved
web/index.ts
View file @
f2a064fe
export
*
from
'.
./base
/api'
export
*
from
'.
./base
/environment'
export
*
from
'.
./base
/native-api'
export
*
from
'.
./base
/token'
export
*
from
'./api'
export
*
from
'./environment'
export
*
from
'./native-api'
export
*
from
'./token'
base
/native-api-base.ts
→
web
/native-api-base.ts
View file @
f2a064fe
File moved
base
/native-api.ts
→
web
/native-api.ts
View file @
f2a064fe
File moved
base
/token.ts
→
web
/token.ts
View file @
f2a064fe
File moved
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