applications
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ __pycache__/
|
||||
.env
|
||||
test.*
|
||||
test/
|
||||
apks/
|
||||
@@ -8,3 +8,8 @@ general_blueprint = jwt_protect_blueprint(Blueprint('general', __name__))
|
||||
@general_blueprint.get('/getShippingWarehouses')
|
||||
def get_shipping_warehouses():
|
||||
return sipro.api.general.get_shipping_warehouses()
|
||||
|
||||
|
||||
@general_blueprint.get('/getCities')
|
||||
def get_cities():
|
||||
return sipro.api.general.get_cities()
|
||||
|
||||
@@ -6,3 +6,7 @@ router = '/general'
|
||||
|
||||
def get_shipping_warehouses():
|
||||
return client.method('GET', f'{router}/getShippingWarehouses')
|
||||
|
||||
|
||||
def get_cities():
|
||||
return client.method('GET', f'{router}/getCities')
|
||||
|
||||
Reference in New Issue
Block a user