applications

This commit is contained in:
2023-11-24 04:20:16 +03:00
parent 7f567954fa
commit 560a0248a5
3 changed files with 10 additions and 0 deletions

1
.gitignore vendored
View File

@@ -6,3 +6,4 @@ __pycache__/
.env
test.*
test/
apks/

View File

@@ -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()

View File

@@ -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')