Accept Merge Request #2063: (feature/6609 -> develop)
Merge Request: 修改机台二维码为机台编码 Created By: @胡尧 Accepted By: @胡尧 URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/2063?initial=true
This commit is contained in:
@@ -18,7 +18,6 @@ class MainController(http.Controller):
|
|||||||
if not maintenance_equipment_id or not model_id:
|
if not maintenance_equipment_id or not model_id:
|
||||||
return {'code': 400, 'message': '参数错误'}
|
return {'code': 400, 'message': '参数错误'}
|
||||||
try:
|
try:
|
||||||
maintenance_equipment_id = int(maintenance_equipment_id)
|
|
||||||
model_id = int(model_id)
|
model_id = int(model_id)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return {'code': 400, 'message': '参数类型错误'}
|
return {'code': 400, 'message': '参数类型错误'}
|
||||||
|
|||||||
Reference in New Issue
Block a user