Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SeptemberHX committed Mar 21, 2022
1 parent c1982d0 commit b22e8a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions users.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@ def send_request(user_id, func_obj):
# todo: 同步请求,而非异步!
gateway = 'http:https://localhost:8081/gateway/request'
data = {
'svcId': f'service{func_obj["svcIndex"]}',
'svcId': f'Service{func_obj["svcIndex"]}',
'patternUrl': func_obj['patternUrl'],
'userId': user_id,
'timestamp': int(datetime.datetime.now().timestamp() * 1000),
'callbackUrl': 'http:https://localhost:8082/callback',
'params': {
'status': 'Success',
'valueMap': {}
'valueMap': {
'first': func_obj['index']
}
}
}
t1 = datetime.datetime.now().timestamp()
Expand Down

0 comments on commit b22e8a7

Please sign in to comment.