Re: JAVA WeChat: WeChat scan code payment, call unified order interface, website pay springmvc
two-dimensional code can view zxing for two-dimensional code generation and analysis; WeChat here also provides two dimensional code learning, everyone is interested in looking at: http://www.thonky.com/qr-code-tutorial/ and http://coolshell.cn/articles/10590.html
random string: WeChat to random strings The requirement is not more than 32. That's what I'm doing here, with a timestamp.
[code] / * *
* create UUID
* @return
* /
public static synchronized. Return s.append ((New Random ().NextInt (900) 100)).ToString ();
}
[/code]
use of Xstream, because most of the variable names defined by WeChat are used. For more details, please see: XStream exception: when the object is turned to XML, it will take