feat: enforce signature-scoped drainage authorization before SMS submission
This commit is contained in:
@@ -47,6 +47,26 @@ export function SendDetailModal({ record, segmentAudits, segmentLoading, onClose
|
||||
}
|
||||
>
|
||||
<div className="admin-sms-send-detail">
|
||||
<section aria-label="引流发送资格">
|
||||
<h3>引流发送资格</h3>
|
||||
{record.drainageGate ? (
|
||||
<>
|
||||
<p>
|
||||
{record.drainageGate.reason ||
|
||||
(record.drainageGate.targets.length
|
||||
? '引流信息资格检查通过;发送仍受通道及其他规则限制'
|
||||
: '未检测到引流信息')}
|
||||
</p>
|
||||
{record.drainageGate.targets.map((target, index) => (
|
||||
<p key={index}>
|
||||
{target.text} · {target.materialIds.length ? '已匹配审核通过的资料' : '未匹配有效资料'}
|
||||
</p>
|
||||
))}
|
||||
</>
|
||||
) : (
|
||||
<p className="muted">{segmentLoading ? '正在加载引流资格校验结果…' : '未执行引流资格校验'}</p>
|
||||
)}
|
||||
</section>
|
||||
<div className="admin-sms-detail-overview">
|
||||
<div>
|
||||
<span>最终状态</span>
|
||||
|
||||
Reference in New Issue
Block a user