|
@@ -5,6 +5,7 @@ import com.caimei.model.ResponseJson;
|
|
import com.caimei.model.po.ClubUserPo;
|
|
import com.caimei.model.po.ClubUserPo;
|
|
import com.caimei.model.vo.*;
|
|
import com.caimei.model.vo.*;
|
|
import com.caimei.service.auth.AuthClubService;
|
|
import com.caimei.service.auth.AuthClubService;
|
|
|
|
+import com.caimei.utils.CodeUtil;
|
|
import com.caimei.utils.Md5Util;
|
|
import com.caimei.utils.Md5Util;
|
|
import com.caimei.utils.SmsUtils;
|
|
import com.caimei.utils.SmsUtils;
|
|
import com.github.pagehelper.PageHelper;
|
|
import com.github.pagehelper.PageHelper;
|
|
@@ -193,6 +194,9 @@ public class AuthClubServiceImpl implements AuthClubService {
|
|
if(authUserId==12){
|
|
if(authUserId==12){
|
|
authParty="西班牙ROSS";
|
|
authParty="西班牙ROSS";
|
|
}
|
|
}
|
|
|
|
+ //生成短连接
|
|
|
|
+ String s = CodeUtil.generateAccount(8);
|
|
|
|
+ System.out.println();
|
|
//短信类型:1通知短信,2验证码短信,3营销短信
|
|
//短信类型:1通知短信,2验证码短信,3营销短信
|
|
Integer type=3;
|
|
Integer type=3;
|
|
String conn="[" + authParty + "]尊敬的会员,ROSS视频挑战赛报名通道已开启,点此【http://f6d.cn/Fgp6r】进入ROSS认证通,了解详情";
|
|
String conn="[" + authParty + "]尊敬的会员,ROSS视频挑战赛报名通道已开启,点此【http://f6d.cn/Fgp6r】进入ROSS认证通,了解详情";
|
|
@@ -257,6 +261,8 @@ public class AuthClubServiceImpl implements AuthClubService {
|
|
@Override
|
|
@Override
|
|
public ResponseJson saveBindAuth(Integer authId,String authParty,Integer authUserId,Integer clubUserId){
|
|
public ResponseJson saveBindAuth(Integer authId,String authParty,Integer authUserId,Integer clubUserId){
|
|
clubMapper.saveBindAuth(authId,authParty,authUserId,clubUserId);
|
|
clubMapper.saveBindAuth(authId,authParty,authUserId,clubUserId);
|
|
|
|
+ //1.7.7ross挑战赛新加逻辑:更新机构信息到挑战赛表
|
|
|
|
+ clubMapper.upAuthByid(clubUserId,authId);
|
|
return ResponseJson.success("绑定机构成功");
|
|
return ResponseJson.success("绑定机构成功");
|
|
}
|
|
}
|
|
}
|
|
}
|