Compare commits
2 Commits
1291456b64
...
b0fea7ba2d
Author | SHA1 | Date |
---|---|---|
wang | b0fea7ba2d | |
wang | 6e22ffaee4 |
Binary file not shown.
|
@ -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
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue