收藏
回答

微信小微入驻签名失败

申请入驻时返回签名失败

这是我程序的字符串

account_bank=中国银行&account_name=BtTWpn+zpSluY6FUIjVbCsS1/fgV2sc5qhpfkoZiMgFZXw00W5peBMZkzPLxEoFUyYFyB+0jcuGSVcWE8fzPyWWrYhiXj8Ft9np6Y+e4dNJQNwhqAxGtgtNUNoD2dMWGu01niFkWTNY6KuA7aT2BA4bRg8+S5UrKI6EGXFz8dze7OB+SEcIkFdGBIpEUuHOl61HCp72spopT1mINcHEDs/XvXTcDOjMUKAFuzb+PIhCUMbbvik4hOG6hzU42EJ5AVGk4EwYb9US/fwU+YAZs2HoBE9t4LsPTEGGhF8y1KfI3XTFUORychyC0kfiGVQkJFz67dynVfUnsk2O2mXiByw==&account_number=eM1Ao4VFvtyEELOffaXXoXzZ9hiF37sMBvZtollQKO6ByCXipBhb40tXc4yckidOn6w30u3Qd/5VEMqA9/2i5qH1DjUsL78MFlmWgkbmchTddQ8UQbdtZprxuR5j/5H7T1rtOwAMgFYYW5WkSwJiPVPXSX/iRfjOPsSpNHJ9QIfODASEAA865abB6nCWk6dS17Jkg3GfF130OTPUFZwcvnGqDsuE+RB5+QAFsg5A8Qv2Fo1k2EQ2mjfBlgZQf6XDf/PHNHZsb3ZnsPDlho+2e1CQ74hmk+fqliUPzvivi4Fog4N8CNJIBpXQtUMWPupFHiQzzbMYeHhakyyD2jR94Q==&address_certification=vb08qAmTU4o6Svop1dDXW7pjltUTYSZCBeZE6fCdJbCEIsBuuwcpTArX4o1dK-WqJxGoEWlpyExMpYSAJp0NEvr62gFIrju9D3hPvZCjym4&bank_address_code=310118&bank_name=中国银行&business_code=d464e31d7b7c47d98926197e7d796632&cert_sn=3914A32659462BB090D406D3230842EEF3ED8130&contact=i3XZqHH5ciQZknfE2B3kw38UcsDspRoNvONzFjOimhuGaEzoAGTwNY8+qZDwmocJcJcvRxYu1PshohJdcZ2T3te6Nrkc6f4v3uCmQF2EK7w0QhVj3Jolu8/IWEGFOJB0nqrVvouvn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wcpTArX4o1dK-WqJxGoEWlpyExMpYSAJp0NEvr62gFIrju9D3hPvZCjym4&id_card_number=QHBV96VJd6Bde4vMzIn8mqMI+szsBd5jUAeFKKoez23AO4XhcIBPm84lNStLMiCA0Zn6i0OKw4VEpRlMqfKqwaS4WVoZq8pmfkbQzgZXHTxG2wMKzcdeInJHuVXG/qU0m9QrLdCcyLYb61X9hoSpOCQugrxodccS+YkYG6yUCzQ4jJLruVip8j+gLn/kLwImurYKSRazyDPIOFTXuM4eD4GWyb5n2m8pEZrRL7K9EiXUvw1XbvJLUzkQJo+kVrmHPlbOotlC0an1wzMnkGM0dzcT1DTe745rNlc9WjK9XtWqqnFTCMTscrxswei/uY4AdCfuJTdApTFzMj11FWGyKw==&id_card_valid_time=['2008-01-01','长期']&indoor_pic=vb08qAmTU4o6Svop1dDXW7pjltUTYSZCBeZE6fCdJbCEIsBuuwcpTArX4o1dK-WqJxGoEWlpyExMpYSAJp0NEvr62gFIrju9D3hPvZCjym4&mch_id=1334692901&merchant_shortname=东浦书店&nonce_str=59779221d9e04cbeae79c2bf6c226604&product_desc=居民生活服务&rate=0.6%&service_phone=13419535284&sign_type=HMAC-SHA256&store_address_code=310118&store_entrance_pic=vb08qAmTU4o6Svop1dDXW7pjltUTYSZCBeZE6fCdJbCEIsBuuwcpTArX4o1dK-WqJxGoEWlpyExMpYSAJp0NEvr62gFIrju9D3hPvZCjym4&store_name=上海东浦书店&store_street=上海市青浦区盈浦街道&version=3.0&key=70f55646a5ea4076a60bd4dce70f897f




这是通过微信验签工具xml生成的字符串

account_bank=中国银行&account_name=BtTWpn+zpSluY6FUIjVbCsS1/fgV2sc5qhpfkoZiMgFZXw00W5peBMZkzPLxEoFUyYFyB+0jcuGSVcWE8fzPyWWrYhiXj8Ft9np6Y+e4dNJQNwhqAxGtgtNUNoD2dMWGu01niFkWTNY6KuA7aT2BA4bRg8+S5UrKI6EGXFz8dze7OB+SEcIkFdGBIpEUuHOl61HCp72spopT1mINcHEDs/XvXTcDOjMUKAFuzb+PIhCUMbbvik4hOG6hzU42EJ5AVGk4EwYb9US/fwU+YAZs2HoBE9t4LsPTEGGhF8y1KfI3XTFUORychyC0kfiGVQkJFz67dynVfUnsk2O2mXiByw==&account_number=eM1Ao4VFvtyEELOffaXXoXzZ9hiF37sMBvZtollQKO6ByCXipBhb40tXc4yckidOn6w30u3Qd/5VEMqA9/2i5qH1DjUsL78MFlmWgkbmchTddQ8UQbdtZprxuR5j/5H7T1rtOwAMgFYYW5WkSwJiPVPXSX/iRfjOPsSpNHJ9QIfODASEAA865abB6nCWk6dS17Jkg3GfF130OTPUFZwcvnGqDsuE+RB5+QAFsg5A8Qv2Fo1k2EQ2mjfBlgZQf6XDf/PHNHZsb3ZnsPDlho+2e1CQ74hmk+fqliUPzvivi4Fog4N8CNJIBpXQtUMWPupFHiQzzbMYeHhakyyD2jR94Q==&address_certification=vb08qAmTU4o6Svop1dDXW7pjltUTYSZCBeZE6fCdJbCEIsBuuwcpTArX4o1dK-WqJxGoEWlpyExMpYSAJp0NEvr62gFIrju9D3hPvZCjym4&bank_address_code=310118&bank_name=中国银行&business_code=d464e31d7b7c47d98926197e7d796632&cert_sn=3914A32659462BB090D406D3230842EEF3ED8130&contact=i3XZqHH5ciQZknfE2B3kw38UcsDspRoNvONzFjOimhuGaEzoAGTwNY8+qZDwmocJcJcvRxYu1PshohJdcZ2T3te6Nrkc6f4v3uCmQF2EK7w0QhVj3Jolu8/IWEGFOJB0nqrVvouvnf6cR+3aAUAsE8M1h0XhgAHneZRtKBaacgu9JY3NZMYmkF8Rq6pKu2qoxs+F7r845FOZlFNJ4RJOVBV7tJyM5/LiT4Q/rqRI/eVOnT2yc+ijtzEn5bfIlr5xdF9wbrwp9eChKdIjm0LliUWsoywCJYfADWg6csrl6yWLGxSxxtc7/GPY09tEO3Qk4M6IWwD6AhAwVH8AnDXlWw==&contact_phone=gTk/UNWymbw1ooWVWMwQySDFkWsAHqmnGBqdgR5zI4rgJPLFrIEFJ6XOkO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5n2m8pEZrRL7K9EiXUvw1XbvJLUzkQJo+kVrmHPlbOotlC0an1wzMnkGM0dzcT1DTe745rNlc9WjK9XtWqqnFTCMTscrxswei/uY4AdCfuJTdApTFzMj11FWGyKw==&id_card_valid_time=['2008-01-01','长期']&indoor_pic=vb08qAmTU4o6Svop1dDXW7pjltUTYSZCBeZE6fCdJbCEIsBuuwcpTArX4o1dK-WqJxGoEWlpyExMpYSAJp0NEvr62gFIrju9D3hPvZCjym4&mch_id=1334692901&merchant_shortname=东浦书店&nonce_str=59779221d9e04cbeae79c2bf6c226604&product_desc=居民生活服务&rate=0.6%&service_phone=13419535284&sign_type=HMAC-SHA256&store_address_code=310118&store_entrance_pic=vb08qAmTU4o6Svop1dDXW7pjltUTYSZCBeZE6fCdJbCEIsBuuwcpTArX4o1dK-WqJxGoEWlpyExMpYSAJp0NEvr62gFIrju9D3hPvZCjym4&store_name=上海东浦书店&store_street=上海市青浦区盈浦街道&version=3.0&key=70f55646a5ea4076a60bd4dce70f897f


我通过程序对比了两个字符串字段都是一样的  但是加密出来的sign值不一样


          






最后一次编辑于  02-26  (未经腾讯允许,不得转载)
回答关注问题邀请回答
收藏

1 个回答