mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🔧 chore: 医药查询
轻量化
This commit is contained in:
parent
52f95bc1ad
commit
3bf7329299
@ -75,7 +75,7 @@ export class query extends plugin {
|
|||||||
const title = this.removeTag(element.title);
|
const title = this.removeTag(element.title);
|
||||||
const thumbnail = element?.thumbnail || element?.auditDoctor?.thumbnail;
|
const thumbnail = element?.thumbnail || element?.auditDoctor?.thumbnail;
|
||||||
const doctor = `\n\n👨⚕️ 医生信息:${ element?.auditDoctor?.name } - ${ element?.auditDoctor?.clinicProfessional } - ${ element?.auditDoctor?.eduProfessional } - ${ element?.auditDoctor?.institutionName } - ${ element?.auditDoctor?.institutionLevel } - ${ element?.auditDoctor?.departmentName }`
|
const doctor = `\n\n👨⚕️ 医生信息:${ element?.auditDoctor?.name } - ${ element?.auditDoctor?.clinicProfessional } - ${ element?.auditDoctor?.eduProfessional } - ${ element?.auditDoctor?.institutionName } - ${ element?.auditDoctor?.institutionLevel } - ${ element?.auditDoctor?.departmentName }`
|
||||||
const template = `📌 ${ title } - ${ element.secondTitle }${element?.auditDoctor ? doctor : ''}\n\n📝 简介:${ element.introduction }`;
|
const template = `📌 ${ title } - ${ element.secondTitle }${ element?.auditDoctor ? doctor : '' }\n\n📝 简介:${ element.introduction }`;
|
||||||
if (thumbnail) {
|
if (thumbnail) {
|
||||||
msg.push({
|
msg.push({
|
||||||
message: [segment.image(thumbnail), { type: "text", text: template, }],
|
message: [segment.image(thumbnail), { type: "text", text: template, }],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user