Agent Register
代理商注册
rules:{'phone.contactValue':{remote:{ url: '/checkPhoneExist.html', cache: false, type: 'POST', data: { 'phone.contactValue': function() { return $("[name='phone.contactValue']").val(); }, editType: function() { return $("[name=editType]").val(); } } },required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("110") != -1 || $("[name=checkPhone]").val(); }}},'skype.contactValue':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("303") != -1; }},pattern:/^[a-zA-Z][a-zA-Z0-9]{5,31}$/},'sysUser.realName':{remote:{ url: '/checkRealNameExist.html', cache: false, type: 'POST', data: { 'sysUser.realName': function() { return $("[name='sysUser.realName']").val(); }, editType: function() { return $("[name=editType]").val(); } } },required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("realName") != -1; }},pattern:/^[a-zA-Z0-9\u4E00-\u9FFF\u2070-\u4e00\uAC00-\uD7FF\u0800-\u2060\u0102-\u1EF1\u0080-\u00FF\._\?\·\•\'\~\"\,\-\*\^\$\@\!\(\)\+\{\}\[\]\s]{2,100}$/},birthdayYear:{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("birthday") != -1 || $("[name=birthdayMon]").val() || $("[name=birthdayDay]").val(); }}},'sysUser.password':{required:true,remote:{ url: '/validate/passwordNotWeak.html', cache: false, type: 'POST', data: { 'sysUser.password': function() { return $("[name='sysUser.password']").val(); }, 'sysUser.username': function() { return $("[name='sysUser.username']").val(); } } },pattern:/^[A-Za-z0-9~\\\-!@#$%^&*()_+\{\}\[\]|\:;'"<>,./?]{6,20}$/},'email.contactValue':{remote:{ url: '/checkMailExist.html', cache: false, type: 'POST', data: { 'email.contactValue': function() { return $("[name='email.contactValue']").val(); }, editType: function() { return $("[name=editType]").val(); } } },pattern:/^[a-zA-Z0-9]+([._\-]*[a-zA-Z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/,required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("201") != -1 || $("[name=checkEmail]").val(); }}},birthdayMon:{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("birthday") != -1 || $("[name=birthdayYear]").val() || $("[name=birthdayDay]").val(); }}},'zalo.contactValue':{remote:{ url: '/checkZaloExist.html', cache: false, type: 'POST', data: { 'zalo.contactValue': function() { return $("[name='zalo.contactValue']").val(); }, editType: function() { return $("[name=editType]").val(); } } },required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("305") != -1; }},pattern:/^[A-z0-9~!@#$%^&*()_+\{\}\[\]\|\\:;'"<>,\.\/\?]{1,50}$/},captchaCode:{required:{ depends: function(elem) { return $("[name=editType]").val() == "agent"; }},remote:{ url: '/checkedCaptcha.html', cache: false, type: 'POST', data: { 'result.captchaCode': function() { return $("[name='result.captchaCode']").val(); }, editType: function() { return $("[name=editType]").val(); } } }},'sysUser.permissionPwd':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("paymentPassword") != -1; }},pattern:/^[0-9]{6}$/,remote:{ url: '/validate/paymentPasswordNotWeak.html', cache: false, type: 'POST', data: { 'sysUser.permissionPwd': function() { return $("[name='sysUser.permissionPwd']").val(); }, 'sysUser.username': function() { return $("[name='sysUser.username']").val(); } } }},'sysUser.region':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("countryCity") != -1; }}},'sysUser.username':{required:true,remote:{ url: '/checkUserNameExist.html', cache: false, type: 'POST', data: { 'sysUser.username': function() { return $("[name='sysUser.username']").val(); }, editType: function() { return $("[name=editType]").val(); } } }},'line.contactValue':{remote:{ url: '/checkLineExist.html', cache: false, type: 'POST', data: { 'line.contactValue': function() { return $("[name='line.contactValue']").val(); }, editType: function() { return $("[name=editType]").val(); } } },required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("306") != -1; }},pattern:/^[A-z0-9~!@#$%^&*()_+\{\}\[\]\|\\:;'"<>,\.\/\?]{1,20}$/},'sysUser.constellation':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("constellation") != -1; }}},'sysUser.city':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("countryCity") != -1; }}},'sysUser.defaultCurrency':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("mainCurrency") != -1; }}},'sysUserProtection.answer1':{pattern:/^(.){1,30}$/,required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("securityIssues") != -1 || $("[name=\'sysUserProtection.question1\']").val(); }}},'sysUser.country':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("countryCity") != -1; }}},'sysUserProtection.question1':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("securityIssues") != -1; }}},birthdayDay:{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("birthday") != -1 || $("[name=birthdayYear]").val() || $("[name=birthdayMon]").val(); }}},phoneCode:{required:{ depends: function(elem) { return $("[name=checkPhone]").val(); }},remote:{ url: '/verificationCode/checkPhoneCode.html', cache: false, type: 'POST', data: { 'result.phoneCode': function() { return $("[name='result.phoneCode']").val(); }, 'phone.contactValue': function() { return $("[name='phone.contactValue']").val(); } } }},confirmPermissionPwd:{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("paymentPassword") != -1; }},compare:{property:'sysUser.permissionPwd',isNumber:'false',logic:'EQ'}},emailCode:{required:{ depends: function(elem) { return $("[name=checkEmail]").val(); }},remote:{ url: '/checkEmailCode.html', cache: false, type: 'POST', data: { 'result.emailCode': function() { return $("[name='result.emailCode']").val(); }, 'email.contactValue': function() { return $("[name='email.contactValue']").val(); } } }},'sysUser.defaultLocale':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("defaultLocale") != -1; }}},termsOfService:{required:{ depends: function(elem) { return $("[name=requiredJson]").val(); }}},'weixin.contactValue':{remote:{ url: '/checkWeixinExist.html', cache: false, type: 'POST', data: { 'weixin.contactValue': function() { return $("[name='weixin.contactValue']").val(); }, editType: function() { return $("[name=editType]").val(); } } },required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("304") != -1; }},pattern:/^[a-zA-Z0-9]{1}[-_a-zA-Z0-9]{5,19}$/},'sysUser.sex':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("sex") != -1; }}},confirmPassword:{required:true,compare:{property:'sysUser.password',isNumber:'false',logic:'EQ'}},'qq.contactValue':{remote:{ url: '/checkQqExist.html', cache: false, type: 'POST', data: { 'qq.contactValue': function() { return $("[name='qq.contactValue']").val(); }, editType: function() { return $("[name=editType]").val(); } } },required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("301") != -1; }},pattern:/^\d{5,11}$/},'msn.contactValue':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("302") != -1; }},pattern:/^[a-zA-Z0-9]+([._\-]*[a-zA-Z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/},'sysUser.defaultTimezone':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("defaultTimezone") != -1; }}},recommendUserInputCode:{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("regCode") != -1; }},pattern:/(^[a-zA-Z0-9]{5,6}$)|(^[a-zA-Z0-9]{8,15}$)/},'userAgent.promotionResources':{required:{ depends: function(elem) { return $("[name=requiredJson]").val().indexOf("resource") != -1; }}}},messages:{'phone.contactValue':{remote:'Register.phone.exist',required:'Register.phone.notBlank'},'skype.contactValue':{required:'Register.skype.notBlank',pattern:'Register.skype.format'},'sysUser.realName':{remote:'Register.realName.exist',required:'Register.realname.notBlank',pattern:'Register.realname.format'},birthdayYear:{required:'Register.select.year'},'sysUser.password':{required:'Register.password.notBlank',remote:'Register.passport.tooEasy',pattern:'Register.password.format'},'email.contactValue':{remote:'Register.mail.exist',pattern:'Register.email.format',required:'Register.email.notBlank'},birthdayMon:{required:'Register.select.month'},'zalo.contactValue':{remote:'Register.zalo.exist',required:'Register.zalo.notBlank',pattern:'Register.zalo.agentFormat'},captchaCode:{required:'Register.captchaCode.notBlank',remote:'Register.captchaCode.notRight'},'sysUser.permissionPwd':{required:'Register.permissionPwd.noBlank',pattern:'Register.permissionPwd.format',remote:'Register.passport.tooEasy'},'sysUser.region':{required:'Register.region.notBlank'},'sysUser.username':{required:'Register.username.notBlank',remote:'Register.username.exist'},'line.contactValue':{remote:'Register.line.exist',required:'Register.line.notBlank',pattern:'Register.line.agentFormat'},'sysUser.constellation':{required:'Register.constellation.notBlank'},'sysUser.city':{required:'Register.city.notBlank'},'sysUser.defaultCurrency':{required:'Register.defaultCurrency.notBlank'},'sysUserProtection.answer1':{pattern:'Register.answer.format',required:'Register.answer.notBlank'},'sysUser.country':{required:'Register.country.notBlank'},'sysUserProtection.question1':{required:'Register.question.notBlank'},birthdayDay:{required:'Register.select.day'},phoneCode:{required:'Register.notBlank',remote:'Register.captcha.error.due'},confirmPermissionPwd:{required:'Register.confirmPermissionPwd.notBlank',compare:'Register.confirmPermissionPwd.notEqWithPermissionPwd',property:'Register.confirmPermissionPwd.notEqWithPermissionPwd',isNumber:'Register.confirmPermissionPwd.notEqWithPermissionPwd',logic:'Register.confirmPermissionPwd.notEqWithPermissionPwd'},emailCode:{required:'Register.notBlank',remote:'Register.captcha.error'},'sysUser.defaultLocale':{required:'Register.defaultLocale.notBlank'},termsOfService:{required:'Register.termsOfService.notBlank'},'weixin.contactValue':{remote:'Register.weixin.exist',required:'Register.weixin.notBlank',pattern:'Register.weixin.format'},'sysUser.sex':{required:'Register.sex.notBlank'},confirmPassword:{required:'Register.confirmPassword.notBlank',compare:'Register.confirmPassword.notEqWithPassword',property:'Register.confirmPassword.notEqWithPassword',isNumber:'Register.confirmPassword.notEqWithPassword',logic:'Register.confirmPassword.notEqWithPassword'},'qq.contactValue':{remote:'Register.qq.exist',required:'Register.qq.notBlank',pattern:'Register.qq.format'},'msn.contactValue':{required:'Register.msn.notBlank',pattern:'Register.msn.format'},'sysUser.defaultTimezone':{required:'Register.defaultTimezone.notBlank'},recommendUserInputCode:{required:'Register.recomendUser.notBlank',pattern:'Register.recomendUser.format'},'userAgent.promotionResources':{required:'Register.popul.resource.notBlank'}},
账号
*
登录密码
*
弱
强
非常强
密码确认
*
验证码
*
真实姓名
手机
CN
+86
CN
+86
邮箱
性别
请选择
不限
女
男
生日
选择年份
选择月份
1月
2月
3月
4月
5月
6月
7月
8月
9月
10月
11月
12月
选择日期
我已届满合法博彩年龄,且已阅读,接受并同意
代理注册协议
提交注册
已经是我们的代理?
登录
客服
顶部