wget -O /www/server/apache-tomcat-8.5.32/webapps/ROOT/WEB-INF/classes/token.txt 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=(你的appid)&secret=(你的secret)
返回的结果是json的
wget -O /www/server/apache-tomcat-8.5.32/webapps/ROOT/WEB-INF/classes/token.txt 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=(你的appid)&secret=(你的secret)
返回的结果是json的