1、修复请求返回值未使用常量web_status.SUCCESS的问题。
This commit is contained in:
@ -27,7 +27,7 @@ function register() {
|
||||
"validateCode": validateCode
|
||||
},
|
||||
success: function(r) {
|
||||
if (r.code == 0) {
|
||||
if (r.code == web_status.SUCCESS) {
|
||||
layer.alert("<font color='red'>恭喜你,您的账号 " + username + " 注册成功!</font>", {
|
||||
icon: 1,
|
||||
title: "系统提示"
|
||||
|
Reference in New Issue
Block a user