fix: CRUD endpoint return format - remove json.dumps, use widgettype format

This commit is contained in:
yumoqing 2026-07-03 14:53:31 +08:00
parent 7c214552c5
commit 2828426f76

View File

@ -71,6 +71,7 @@
"editexclouded": [ "editexclouded": [
"id", "id",
"resellerid", "resellerid",
"sub_reseller_id",
"agreement_code", "agreement_code",
"created_by", "created_by",
"created_at", "created_at",
@ -85,7 +86,7 @@
} }
], ],
"editable": { "editable": {
"new_data_url": "{{entire_url('../api/distribution_agreements_create.dspy')}}", "new_data_url": "{{entire_url('../api/distribution_agreements_create.dspy')}}?sub_reseller_id={{params_kw.get('sub_reseller_id','')}}",
"update_data_url": "{{entire_url('../api/distribution_agreements_update.dspy')}}", "update_data_url": "{{entire_url('../api/distribution_agreements_update.dspy')}}",
"delete_data_url": "{{entire_url('../api/distribution_agreements_delete.dspy')}}" "delete_data_url": "{{entire_url('../api/distribution_agreements_delete.dspy')}}"
} }