Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
21
Star
11
Fork
10
DCloud
/
native-docs
Code
Issues
22
Pull Requests
40
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
56
[Lightweight PR]: update docs/AppDocs/usesdk/harmony.md.
Open
N/A
DCloud:master
领客青年官方
create on 2025-11-18 09:31
Clone/Download
HTTPS
SSH
Copy
Email Patch
Diff file
文档未定义initUniModules的实现,示例代码是UniApp 中用于注册支付扩展服务的核心逻辑。或者去掉initUniModules相关内容 import { registerUniProvider, uni } from '@dcloudio/uni-app-runtime' import { UniPaymentAlipayProviderImpl } from '@uni_modules/uni-payment-alipay' import { UniPaymentWxpayProviderImpl } from '@uni_modules/uni-payment-wxpay' // 初始化 Uni 扩展模块的入口函数 export function initUniModules() { initUniExtApi() // 调用扩展 API 初始化函数 } // 初始化扩展 API(核心逻辑) function initUniExtApi() { // 注册支付宝支付提供商:服务类型为 'payment',标识为 'alipay' registerUniProvider('payment', 'alipay', new UniPaymentAlipayProviderImpl()) // 注册微信支付提供商:服务类型为 'payment',标识为 'wxpay' registerUniProvider('payment', 'wxpay', new UniPaymentWxpayProviderImpl()) }
The Pull Request can be automatically merged.
How to merge Pull Request
git checkout master
git pull https://gitee.com/dcloud/native-docs.git N/A
git push origin master
Comments
0
Commits
1
Files
1
Checks
Code problems
0
Bulk operation
Expand
Collapse
Reviewer
Code Owner
Reviewer
zhetengbiji
zhetengbiji
dcloud-service02
dcloud-service02
tong
tonglove
杜庆泉
dqq
王志通
zhi-tong-wang
zhanglei
zhanglei_2
Anne_LXM
liuxiaomeidcloud
thb
dcloud_thb
殷嘉呈
jiacheng-yin
Joker
Joker486
Fred0920
fred0920
VK
vk168
王亚琪
wangyaqi1994
tree
treeseed
linju
DCloud-Json
小花同学
xiaohuapunk
yanyilin
dc-yyl
st-dc
stdc
No Setting
Min number
0
Tester
zhetengbiji
zhetengbiji
dcloud-service02
dcloud-service02
tong
tonglove
杜庆泉
dqq
王志通
zhi-tong-wang
zhanglei
zhanglei_2
Anne_LXM
liuxiaomeidcloud
thb
dcloud_thb
殷嘉呈
jiacheng-yin
Joker
Joker486
Fred0920
fred0920
VK
vk168
王亚琪
wangyaqi1994
tree
treeseed
linju
DCloud-Json
小花同学
xiaohuapunk
yanyilin
dc-yyl
st-dc
stdc
No Setting
Min number
0
Priority
Not specified
Serious
Main
Secondary
Unimportant
Label
Label settings
No Setting
Link Issue
No link issue
Successfully merged pull requests will close issues
Milestone
No related milestones
Automatic processing
Close related Issues after merge
Use flattening for the Pull Request merger
After checking this option, it is recommended to use the Squash Merge method to consolidate to simplify the submission history
Participators
(1)
1
https://gitee.com/dcloud/native-docs.git
git@gitee.com:dcloud/native-docs.git
dcloud
native-docs
native-docs
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register