Compare commits

...

2 Commits

Author SHA1 Message Date
wang b0fea7ba2d 11 2024-08-02 11:12:25 +08:00
wang 6e22ffaee4 11 2024-08-02 11:12:25 +08:00
3 changed files with 3 additions and 2 deletions

BIN
50011836报名.zip Normal file

Binary file not shown.

View File

@ -20,7 +20,8 @@ RUN wget https://download.dameng.com/eco/adapter/DM8/202405/dm8_20240408_x86_rh7
&& rm -f dm8_20240408_x86_rh7_64.iso \ && rm -f dm8_20240408_x86_rh7_64.iso \
&& chmod +x DMInstall.bin \ && chmod +x DMInstall.bin \
&& apt-get remove -y p7zip-full unzip wget \ && apt-get remove -y p7zip-full unzip wget \
&& usermod -aG sudo dmdba && usermod -aG sudo dmdba \
&& echo "LANG=zh_CN.utf-8" >> /etc/profile
USER dmdba USER dmdba
# 使用中文 # 使用中文
ENV LANG=zh_CN.utf-8 ENV LANG=zh_CN.utf-8

View File

@ -384,7 +384,7 @@ def teacher_mark_del_pods():
Name='s'+i+'-'+testID Name='s'+i+'-'+testID
delete_pod(Name) delete_pod(Name)
return '删除成功' return '删除成功'
@app.route("/api/student/check_pod",methods=['POST']) # 检测数据库是否安装成功 若成功返回OK 否则返回NO @app.route("/api/student/check_pod",methods=['POST']) # 检测数据库是否安装成功 若成功 返回OK 否则返回NO
def teacher_check_pod(): def teacher_check_pod():
name=request.json["student_ID"] name=request.json["student_ID"]
testID=request.json["operateID"] testID=request.json["operateID"]