Selaa lähdekoodia

quick fix on update success

Jason 2 vuotta sitten
vanhempi
commit
1a1bfd8226
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      backstage/blogs/routes.py

+ 2 - 2
backstage/blogs/routes.py

@@ -277,7 +277,7 @@ def edit_contact_us_editemail():
         inf.write(result)      
 
     #sortedData = sorted(sortedData, key=lambda x: x['type'])
-    return "修改成功" + result
+    return "Success " + result
 
 @blogs_app.route('/backstage/blog/create/', methods=['POST'])
 def create():
@@ -359,7 +359,7 @@ def edit_blog_editfurther():
                 inf.write('<li><a href="' + d[0] + '">' + d[1] + '</a></li>\n')     
 
     #sortedData = sorted(sortedData, key=lambda x: x['type'])
-    return "修改成功"
+    return "Success"
 
 @blogs_app.route('/backstage/blog/createCat/', methods=['GET'])
 def createCat():