data

package
v1.0.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package data 开放数据

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetUserStorage

func SetUserStorage(ctx *miniprogram.Miniprogram, payload []byte, params url.Values) (resp []byte, err error)

上报用户数据后台接口。小游戏可以通过本接口上报key-value数据到用户的CloudStorage。

See: https://developers.weixin.qq.com/minigame/dev/api-backend/open-api/data/storage.setUserStorage.html

POST https://api.weixin.qq.com/wxa/set_user_storage?access_token=ACCESS_TOKEN&signature=SIGNATURE&openid=OPENID&sig_method=SIG_METHOD

Example
Output:

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL