add store_type to ReserveResultPojo
This commit is contained in:
@@ -53,7 +53,7 @@ class CommandorPage:
|
||||
|
||||
def __init__(self, contact: ContactPojo, store_type=0, proxy_type=0, mode: ModeEnum = ModeEnum.MANUAL):
|
||||
self.otp_value = None
|
||||
self.logger = logging.getLogger("CommandorPage:" + str(contact.phone))
|
||||
self.logger = logging.getLogger("约会页面:" + str(contact.phone))
|
||||
self.is_finished = False
|
||||
self.contact = contact
|
||||
self.proxy_type = proxy_type
|
||||
@@ -328,6 +328,7 @@ class CommandorPage:
|
||||
firstName=contact.first_name, lastName=contact.last_name, email=contact.mail,
|
||||
passport=contact.passport, ccid=contact.ccid)
|
||||
result.id = id
|
||||
result.store_type = self.store_type
|
||||
params.firebase_store_manager.save(result)
|
||||
if status is PublishType.SUCCESS:
|
||||
self.on_success(result)
|
||||
|
||||
Reference in New Issue
Block a user