1,去公众平台,开通卡券,绑定小程序,申请公众平台 2,后台根据appid和秘钥获取ccess_token, 3,升级卡券 4,后台根据access_token获取openid 5,后台生成卡券签名 6,前台获取卡券