|
@@ -100,7 +100,7 @@ public class WeixinPayController extends Controller {
|
|
|
String prepay_id = result.get("prepay_id");
|
|
|
|
|
|
Map<String, String> packageParams = new HashMap<String, String>();
|
|
|
- packageParams.put("appId", appid);
|
|
|
+ packageParams.put("appId", appId);
|
|
|
packageParams.put("timeStamp", System.currentTimeMillis() / 1000 + "");
|
|
|
packageParams.put("nonceStr", System.currentTimeMillis() + "");
|
|
|
packageParams.put("package", "prepay_id=" + prepay_id);
|