页面优化
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
randomAccount = ValidateCodeHelper.MakeCharCode(2).ToLower() + ValidateCodeHelper.MakeNumCode(4).ToLower();
|
||||
}
|
||||
var product_id = Model.Product.Id;
|
||||
if (product_id == 27) {
|
||||
if (product_id == 27 || product_id == 6) {
|
||||
randomPwd = ValidateCodeHelper.MakeNumCode(6).ToLower();
|
||||
}
|
||||
}
|
||||
@@ -133,6 +133,10 @@
|
||||
$(".tip").text("账户和密码不能为空");
|
||||
return;
|
||||
}
|
||||
if (data.ProductId == 6 && data.Pwd.length<6) {
|
||||
$(".tip").text("密码要大于6位");
|
||||
return;
|
||||
}
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '/api/course/v1/productaccount/CreateTestAccount',
|
||||
|
||||
Reference in New Issue
Block a user