Administrator 1 月之前
父节点
当前提交
a2999ddf51
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      焦炭计算公式.py

+ 2 - 2
焦炭计算公式.py

@@ -38,10 +38,10 @@ def calculate_jt_time():
 
         print("焦炭解冻时间为 ", t_hours)
 
-        return jsonify({"jt_time_hours": round(t_hours, 2)})
+        return jsonify({"t_total": round(t_hours, 2)})
     except Exception as e:
         return jsonify({"error": str(e)}), 500
 
 
 if __name__ == '__main__':
-    app.run(host='127.0.0.1', port=9996, debug=True)
+    app.run(host='127.0.0.1', port=9995, debug=True)