This commit is contained in:
Mr Chen
2024-11-08 18:26:46 +08:00
parent d5a8efff0e
commit 8f1ec01b58
2 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -61,9 +61,9 @@ def set_notify_email_test():
data = json.loads(tag_data)
test_pass = mw.emailNotifyTest(data)
if test_pass:
if test_pass == True:
return mw.returnData(True, '验证成功')
return mw.returnData(False, '验证失败')
return mw.returnData(False, '验证失败:'+test_pass)
# 切换邮件开关
@blueprint.route('/set_notify_email_enable', endpoint='set_notify_email_enable', methods=['POST'])