怎么调用小程序名称呢?

小程序 文章 2021-04-07 11:22 392 0 全屏看文

AI助手支持GPT4.0

怎么调用小程序名称呢?How to call the applet name?

怎么调用小程序名称呢?

如图,小程序里我怎么获取到这个小程序名称

As shown in the figure, how can I get the name of the applet

回答:

贩卖焦虑:
wx.getAccountInfoSync() 获取appId后。抓官方那个接口(https://mp.weixin.qq.com/wxamp/cgioute)看看能不能调用。

 :好的,谢谢,我试试
青寒:

直接打开小程序,看小程序资料,或更多资料里看名称记录。

 :我是想在小程序里面获取到这个名称
 :百度小程序可以在getAccountInfoSync里返回,微信只有appid,头条就没有这个方法。。。。

-EOF-

AI助手支持GPT4.0