|
@@ -96,9 +96,9 @@ public class WxController extends BaseController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@RequestMapping("/pay")
|
|
@RequestMapping("/pay")
|
|
|
- public String wxPay(HttpServletRequest request, @RequestParam String ssoId, @RequestParam String transValue) {
|
|
|
|
|
|
|
+ public String wxPay(HttpServletRequest request, @RequestParam String ssoId, @RequestParam String transValue,@RequestParam String userId) {
|
|
|
String userAgent = request.getHeader("user-agent");
|
|
String userAgent = request.getHeader("user-agent");
|
|
|
- String userId = LoginHelper.getUserId().toString();
|
|
|
|
|
|
|
+ //String userId = LoginHelper.getUserId().toString();
|
|
|
String openId = Base64.decodeStr(ssoId);
|
|
String openId = Base64.decodeStr(ssoId);
|
|
|
Map<String, String> mapParams = new HashMap<>();
|
|
Map<String, String> mapParams = new HashMap<>();
|
|
|
mapParams.put("userId", userId);
|
|
mapParams.put("userId", userId);
|