miniyao
V2EX  ›  问与答

支&付&宝异步通知 notify_url 支持参数 abc.com/notify?foo=xxx 吗?

  •  
  •   miniyao · Nov 20, 2018 · 1255 views
    This topic created in 2748 days ago, the information mentioned may be changed or developed.
    试了下不带参数 abc.com/notify 是可以回调的,带了参数 abc.com/notify?foo=xxx 回调不成功。

    文档里也没看到说明,不清楚是不允许带参数?还是参数设置有问题?
    3 replies    2018-11-20 22:36:16 +08:00
    sarices
        1
    sarices  
       Nov 20, 2018   ❤️ 1
    不可以吧,好多年没搞过支付宝了,应该正常不能带?的吧,除非异步回调,直接返回是 get 的形式,异步貌似支持 post,具体忘记了,去看看文档
    sarices
        2
    sarices  
       Nov 20, 2018   ❤️ 1
    要不把地址重写一下 abc.com/foo/xxx/notify.html
    MeteorCat
        3
    MeteorCat  
       Nov 20, 2018 via Android
    楼上正解,notifyurl 不允许带任何参数,但是支持 path info 模式
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2596 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 15:33 · PVG 23:33 · LAX 08:33 · JFK 11:33
    ♥ Do have faith in what you're doing.