薪资接口

This commit is contained in:
pengyuthon
2026-01-26 17:59:59 +08:00
parent cb86415e43
commit 6b8eba6d8c
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ class WeComApps(models.Model):
"btntxt": btntxt
},
}
elif category in ['task', 'att_ok']:
elif category in ['task', 'att_ok', 'salary']:
data = {
'touser': user_id,
'msgtype': 'textcard',
@@ -29,6 +29,7 @@ class WecomAppsConfig(models.Model):
('att', '出勤类型'),
('task', '日程类型'),
('att_ok', '考勤确认类型'),
('salary', '薪资消息通知'),
], default="default")
wecom_apps_id = fields.Many2one("wecom.apps", string="企业微信的应用")