点击或拖拽改变大小

WeiXinApiconfig 方法

注入权限验证配置

命名空间:  Smobiler.Plugins
程序集:  Smobiler.Plugins (在 Smobiler.Plugins.dll 中) 版本:6.0.641.16928
语法
public void config(
	long timestamp,
	string nonceStr,
	string signature,
	ComponentOnResultHandler handler = null,
	bool debug = false
)

参数

timestamp
类型:SystemInt64
生成签名的时间戳
nonceStr
类型:SystemString
生成签名的随机串
signature
类型:SystemString
签名
handler (Optional)
类型:Smobiler.Core.ControlsComponentOnResultHandler
结果回调
debug (Optional)
类型:SystemBoolean
开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
参见