Translation Notice
This article was machine-translated using DeepSeek-R1.
- Original Version: Authored in Chinese by myself
- Accuracy Advisory: Potential discrepancies may exist between translations
- Precedence: The Chinese text shall prevail in case of ambiguity
- Feedback: Technical suggestions regarding translation quality are welcomed
-
If cloud development is not enabled, see this article
-
Base library version must be 2.3.3* or higher*, recommended to use latest version
-
Create new cloud function:
-
Right-click
cloudfunctions
, select New Node.js Cloud Function -
Enter
login
- Current appearance of cloud development console:
- Current appearance of cloud development console:
-
This function saves openID to local storage and calls
error
on failure:
|
|