页面优化

This commit is contained in:
“wanyongkang”
2024-02-24 13:58:39 +08:00
parent 95dc0c16be
commit abbef158af
16 changed files with 149 additions and 44 deletions

View File

@@ -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',