|
|
@ -13,7 +13,6 @@ import au.com.royalpay.payment.manage.permission.manager.RequirePartner;
|
|
|
|
import au.com.royalpay.payment.manage.pos.datasource.ReadOnlyConnection;
|
|
|
|
import au.com.royalpay.payment.manage.pos.datasource.ReadOnlyConnection;
|
|
|
|
import au.com.royalpay.payment.manage.signin.core.SignInAccountService;
|
|
|
|
import au.com.royalpay.payment.manage.signin.core.SignInAccountService;
|
|
|
|
import au.com.royalpay.payment.manage.support.wechatclients.KangaLandWechatApiImpl;
|
|
|
|
import au.com.royalpay.payment.manage.support.wechatclients.KangaLandWechatApiImpl;
|
|
|
|
import au.com.royalpay.payment.manage.support.wechatclients.RedpackWechatApiImpl;
|
|
|
|
|
|
|
|
import au.com.royalpay.payment.manage.system.core.ClientContractService;
|
|
|
|
import au.com.royalpay.payment.manage.system.core.ClientContractService;
|
|
|
|
import au.com.royalpay.payment.manage.tradelog.beans.TradeLogQuery;
|
|
|
|
import au.com.royalpay.payment.manage.tradelog.beans.TradeLogQuery;
|
|
|
|
import au.com.royalpay.payment.manage.tradelog.core.TradeLogService;
|
|
|
|
import au.com.royalpay.payment.manage.tradelog.core.TradeLogService;
|
|
|
@ -248,7 +247,7 @@ public class PartnerViewController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@WechatMapping(value = "/wechat_bind/{randomKey}", method = RequestMethod.GET, oauthType = WxOauthType.USERINFO,
|
|
|
|
@WechatMapping(value = "/wechat_bind/{randomKey}", method = RequestMethod.GET, oauthType = WxOauthType.USERINFO,
|
|
|
|
addonMp = {KangaLandWechatApiImpl.class, RedpackWechatApiImpl.class})
|
|
|
|
addonMp = {KangaLandWechatApiImpl.class})
|
|
|
|
public String bindWechatUser(@PathVariable String randomKey, @ModelAttribute(CommonConsts.WECHATINFO) JSONObject user, Model model) {
|
|
|
|
public String bindWechatUser(@PathVariable String randomKey, @ModelAttribute(CommonConsts.WECHATINFO) JSONObject user, Model model) {
|
|
|
|
clientManager.bindWechatUser(randomKey, user, model);
|
|
|
|
clientManager.bindWechatUser(randomKey, user, model);
|
|
|
|
return "wechat_bind";
|
|
|
|
return "wechat_bind";
|
|
|
|