Skip to content

Commit

Permalink
Merge pull request #1343 from longguikeji/v2.5-dev
Browse files Browse the repository at this point in the history
2.6.1
  • Loading branch information
notevery authored Oct 13, 2022
2 parents a991152 + 1f13c94 commit c2e66c8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions arkid/common/bind_saas.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ def get_bind_info(tenant_id):
if resp.status_code != 200:
raise Exception(f'Error get_bind_info: {resp.status_code}')
resp = resp.json()
tenant = Tenant.objects.get(id=tenant_id)
create_arkidstore_login_app(tenant, resp['saas_tenant_id'])
create_arkid_saas_login_app(tenant, resp['saas_tenant_id'], resp.get('saas_login_url'))
if resp.get('saas_tenant_id'):
tenant = Tenant.objects.get(id=tenant_id)
create_arkidstore_login_app(tenant, resp['saas_tenant_id'])
create_arkid_saas_login_app(tenant, resp['saas_tenant_id'], resp.get('saas_login_url'))
return resp


Expand Down
2 changes: 1 addition & 1 deletion arkid/core/tasks/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, parent, **options):

@app.task(bind=True)
def dispatch_task(self, task_name, *args, **kwargs):
logger.info(f'=== Dispatch task:{task_name}, args: {args}, kwargs: {kwargs}')
# logger.info(f'=== Dispatch task:{task_name}, args: {args}, kwargs: {kwargs}')
for name, task in app.tasks.items():
func_name = name.split('.')[-1]
if func_name == task_name:
Expand Down
2 changes: 1 addition & 1 deletion extension_root/com_longgui_default_desktop/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package='com.longgui.other.defaultdesktop'
package='com.longgui.default.desktop'
name="租户默认桌面设置"
version='1.0'
labels='defaultdesktop'
Expand Down

0 comments on commit c2e66c8

Please sign in to comment.