|
@@ -17,7 +17,7 @@ class DeptAccountListApi(Resource):
|
|
|
@login_required
|
|
|
@account_initialization_required
|
|
|
def get(self):
|
|
|
- edit = request.args.get("edit", default=1, type=str)
|
|
|
+ edit = request.args.get("edit", type=str)
|
|
|
if edit is None or edit == "":
|
|
|
type = 0
|
|
|
dept_account_list = DeptService.get_dept_account_list(type)
|