Commit 8f02bb21 刘韬

添加/rest/api/v1/shelf/相关API

1 个父辈 c91fcd1e
...@@ -448,9 +448,3 @@ threads.append(threading.Thread(target=serverpost)) ...@@ -448,9 +448,3 @@ threads.append(threading.Thread(target=serverpost))
for t in threads: for t in threads:
t.start() t.start()
''' '''
...@@ -580,6 +580,7 @@ def rest_api_v1_shelf_posOn(): ...@@ -580,6 +580,7 @@ def rest_api_v1_shelf_posOn():
#/rest/api/v1/shelf/posOff?posId=1_3_1;1_3_2;1_3_4 #/rest/api/v1/shelf/posOff?posId=1_3_1;1_3_2;1_3_4
#posOff OK 或 posOff FAIL #posOff OK 或 posOff FAIL
@app.route('/rest/api/v1/shelf/posOff', methods=['Get'])
def rest_api_v1_shelf_posOff(): def rest_api_v1_shelf_posOff():
strip1 = get_strip(SET_LED_CHANNEL['1']) strip1 = get_strip(SET_LED_CHANNEL['1'])
strip2 = get_strip(SET_LED_CHANNEL['2']) strip2 = get_strip(SET_LED_CHANNEL['2'])
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!