|
@@ -418,10 +418,11 @@ public class WxController extends BaseController {
|
|
|
httpPost.setEntity(new StringEntity(rootNode.toString(), "utf-8"));
|
|
|
HttpResponse response = httpClient.execute(httpPost);
|
|
|
String bodyAsString = EntityUtils.toString(response.getEntity());
|
|
|
- if (JSONObject.parseObject(bodyAsString).get("prepay_id") == null){
|
|
|
- throw new CustomException(JSONObject.parseObject(bodyAsString).get("message").toString());
|
|
|
- }
|
|
|
- return getWxParamJson(bodyAsString);
|
|
|
+ //if (JSONObject.parseObject(bodyAsString).get("prepay_id") == null){
|
|
|
+ // throw new CustomException(JSONObject.parseObject(bodyAsString).get("message").toString());
|
|
|
+ //}
|
|
|
+
|
|
|
+ return JSONObject.parseObject(bodyAsString);
|
|
|
|
|
|
}
|
|
|
|