1、修复请求返回值未使用常量web_status.SUCCESS的问题。

This commit is contained in:
kagome2014
2020-12-21 10:23:02 +08:00
committed by Gitee
parent bda12d5016
commit 0c8a6935f2
4 changed files with 5 additions and 5 deletions

View File

@ -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: "系统提示"