Commit a6a993db by guibin

荏原重写/roke/three_color_light/device_state_list接口

parent 60b62d72
...@@ -20,5 +20,5 @@ class RokeMesThreeColourLight(http.Controller): ...@@ -20,5 +20,5 @@ class RokeMesThreeColourLight(http.Controller):
_self = http.request _self = http.request
factory_code = http.request.env(user=SUPERUSER_ID)['ir.config_parameter'].get_param('database.uuid', default="") factory_code = http.request.env(user=SUPERUSER_ID)['ir.config_parameter'].get_param('database.uuid', default="")
data = {"code": 1, "message": "请求通过", "data": {"factory_code": factory_code}} data = {"code": 1, "message": "请求通过", "data": {"factory_code": factory_code}}
template = env.get_template('equipment_status.html') template = env.get_template('equipment_status_qdry.html')
return template.render(data) return template.render(data)
\ No newline at end of file
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