|
@@ -48,8 +48,6 @@ import java.util.concurrent.locks.ReentrantLock;
|
|
|
@Service
|
|
|
public class WxProviderServiceImpl implements WxProviderService {
|
|
|
|
|
|
- private final ReentrantLock lock = new ReentrantLock();
|
|
|
-
|
|
|
public synchronized Map<String, Object> subJsapi(JsapiPo po) {
|
|
|
System.out.println("微信支付传入参数===========" + po);
|
|
|
String type = "sub_jsapi";
|
|
@@ -482,6 +480,8 @@ public class WxProviderServiceImpl implements WxProviderService {
|
|
|
return body;
|
|
|
}
|
|
|
|
|
|
+ private final ReentrantLock lock = new ReentrantLock();
|
|
|
+
|
|
|
public JSONObject jsapiNotify(HttpServletRequest request, HttpServletResponse response) {
|
|
|
JSONObject bodyJson = getNotifyBodyJson(request);
|
|
|
if (bodyJson == null) {
|