mirror of
https://github.com/capricornxl/ad-password-self-service.git
synced 2025-10-09 07:09:22 +08:00
### 本次升级、修复,请使用最新版:
+ 升级Python版本为3.8 + 升级Django到3.2 + 修复用户名中使用\被转义的问题 + 重写了dingding模块,因为dingding开发者平台接口鉴权的一些变动,之前的一些接口不能再使用,本次重写。 + 重写了ad模块,修改账号的一些判断逻辑。 + 重写了用户账号的格式兼容,现在用户账号可以兼容:username、DOMAIN\username、username@abc.com这三种格式。 + 优化了整体的代码逻辑,去掉一些冗余重复的代码。
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
"""
|
||||
Created by auto_sdk on 2019.07.01
|
||||
"""
|
||||
from api.base import RestApi
|
||||
|
||||
|
||||
class OapiAttendanceVacationQuotaUpdateRequest(RestApi):
|
||||
def __init__(self, url=None):
|
||||
RestApi.__init__(self, url)
|
||||
self.leave_quotas = None
|
||||
self.op_userid = None
|
||||
|
||||
def getHttpMethod(self):
|
||||
return 'POST'
|
||||
|
||||
def getapiname(self):
|
||||
return 'dingtalk.oapi.attendance.vacation.quota.update'
|
Reference in New Issue
Block a user