{"errcode":40003,"errmsg":"invalid openid hint: [c49C4a0396ge21]"} 可能原因: 1.用户的openid与(AppId和AppSecret)对应不上,也就是说AppId,AppSecret,openid要成套。
2.JSON格式错误如"openid":"" openid的引号和值的引号也要带着。https://blog.csdn.net/u011781521/article/details/79871661https://blog.csdn.net/jyj993126/article/details/21884417 {"errcode":47001,"errmsg":"data format error"} preg_replace('/\s|\r|\n|\t/','',$title) 用正则匹配去除多余的空格或者其他特殊字符串https://blog.csdn.net/asasasasaq/article/details/83343562