Commit 7bce9d89 authored by Bruce's avatar Bruce

add after upload img show success message

parent aa3e3738
...@@ -153,6 +153,7 @@ def upload(): ...@@ -153,6 +153,7 @@ def upload():
else: else:
data={'name':engname} data={'name':engname}
response=requests.post(os.path.join(api_server,'upload','image'),files=file,data=data) response=requests.post(os.path.join(api_server,'upload','image'),files=file,data=data)
status_label['text']=engname+'照片上傳成功'
def submit(): def submit():
name=name_text.get(1.0,tk.END).split('\n')[0] name=name_text.get(1.0,tk.END).split('\n')[0]
engname=english_name_text.get(1.0,tk.END).split('\n')[0] engname=english_name_text.get(1.0,tk.END).split('\n')[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment