|
@@ -49,7 +49,7 @@ public class WeixinPayController extends Controller {
|
|
|
|
|
|
String url;
|
|
|
try {
|
|
|
- url = wService.getCodeUrl(ApiConfigKit.getApiConfig().getAppId(), getRequest().getRequestURL().toString());
|
|
|
+ url = wService.getCodeUrl(ApiConfigKit.getApiConfig().getAppId(), getRequest().getRequestURL().toString() + "?appId=" + ApiConfigKit.getApiConfig().getAppId() + "&out_trade_no=" + asString);
|
|
|
this.redirect(url);
|
|
|
|
|
|
} catch (UnsupportedEncodingException e) {
|