Skip to content

关于统一下单的问题 #277

Closed
Closed

Description

@liuzhihai520

今天在测试调用统一下单接口的时候,我再把参数填写完毕执行POST的时候。始终提示我缺少参数。看打印的日志如下:
<nonce__str>1499853099495</nonce__str>
E7E5E43D7AE4E412462039CE3F3C41C8

口令红包-红包 口令红包-红包 20170712175130715355469 100 127.0.0.1 http://127.0.0.1:8080/123 JSAPI

name 下划线为__不知道是否有问题?正常应该是_?

Activity

  1. binarywang commented on Jul 12, 2017

    @binarywang
    Owner

    测试了下并未发现双下划线问题,你用的是哪里的代码?

  2. liuzhihai520 commented on Jul 12, 2017

    @liuzhihai520
    Author

    就是maven上同步下来的。然后调用的您的支付接口。版本是2.7.0

  3. binarywang commented on Jul 12, 2017

    @binarywang
    Owner

    你看下这个类 me.chanjar.weixin.common.util.xml.XStreamInitializer
    里面专门有处理的,不知道你怎么调用的代码导致的问题

  4. liuzhihai520 commented on Jul 12, 2017

    @liuzhihai520
    Author

    image
    就这一段。然后就是配置。应该和配置没多大关系。有点费解。

  5. binarywang commented on Jul 12, 2017

    @binarywang
    Owner

    那看看你的xstream版本是不是有问题

  6. liuzhihai520 commented on Jul 12, 2017

    @liuzhihai520
    Author

    我找到问题了。我pom。xml里面有一个以前的cp版本的jar没去掉。去掉就可以了。

  7. binarywang commented on Jul 12, 2017

    @binarywang
    Owner

    醉了,好吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions