if(empty($_W['openid'])||$_W['fans']['follow']!=1){
message( '请先关注公众号!', '', 'error' );
}
当$_W['openid']为空时,
$_W['fans']['follow'] 等于0是没有关注 等于1是已经关注 follow是关注的意思
转载https://blog.csdn.net/sunxiaowen13/article/details/73776842
if(empty($_W['openid'])||$_W['fans']['follow']!=1){
message( '请先关注公众号!', '', 'error' );
}
当$_W['openid']为空时,
$_W['fans']['follow'] 等于0是没有关注 等于1是已经关注 follow是关注的意思
转载https://blog.csdn.net/sunxiaowen13/article/details/73776842