This commit is contained in:
pengyuthon
2026-03-04 23:06:49 +08:00
parent 222c2f4346
commit 7ff0461803
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -90,7 +90,8 @@ class YuthonNotice(http.Controller):
'title': notice.name,
'read_number': '0',
'notice_text': notice.notice_text1,
'file_list': file_list
'file_list': file_list,
'is_notice_roger': notice.is_notice_roger,
}
return json.dumps({
'code': 200,
@@ -49,8 +49,10 @@ class YuthonConfirmUsers(models.Model):
url=url, btntxt="详细信息")
if result_data:
res_dict = result_data[1]
rec.write({'msg_id': res_dict.get('msgid')})
if res_dict.get('errmsg') == 'ok':
i = i + 1
url = f'https://phone.thtzjt.com/phone/Notice/{self.notice_id.id}?employee_id=298'
self.sudo().env["wecom.apps"].sync_send_message_textcard(category='notice',
touser='18562027762',