php-WeChat menu View jump get code problem

Source: Internet
Author: User
Keywords PHP Micro-mail
Php

The address you want to jump to redirect such as: Http://a.com/b/?c.d

Build the View address (service number):https://open.weixin.qq.com/connect/oauth2/authorize?appid=appid&redirect_uri=redirect& Response_type=code&scope=snsapi_base&state=1#wechat_redirect

The problem is that through the page that can open this jump, but by copying the page address or displaying the built view address, the description does not jump back to code, and the address I want to get is:htt://a.com/b/?c.d&code=xxxxxxx& State=1

If this address can be obtained to code:htt://a.com/b, that is, without the parameter without a slash, someone has encountered this problem?

The problem has been resolved by copying the address directly or by displaying the URL with Weixin, which has actually been jumped and fetched code.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.