feat(shipping-notice): 收敛订单处理状态与履约门禁
This commit is contained in:
1 parent
bffcd55b40
commit
70dd0051b8
153 files changed
+10916
-4296
No files matched your search
@@ -89,10 +89,10 @@ class ShippingNoticeHandler(AgentHandler):
|
||||
if str(event.get('event') or '') != 'shipping_ui_state':
|
||||
return None
|
||||
ui_state = event.get('ui_state') if isinstance(event.get('ui_state'), dict) else {}
|
||||
checkpoint = ui_state.get('checkpoint')
|
||||
return json.dumps({
|
||||
'task_no': event.get('task_no'),
|
||||
'checkpoint': checkpoint,
|
||||
'position': ui_state.get('position'),
|
||||
'user_mode': ui_state.get('user_mode'),
|
||||
'updated_at': ui_state.get('updated_at'),
|
||||
}, ensure_ascii=False, sort_keys=True)
|
||||
|
||||
|
||||
Reference in new issue
Block a user