关闭 call

This commit is contained in:
todaywindy 2025-06-04 10:47:13 +08:00
parent 98ab885f28
commit 2e4ddc3f61
2 changed files with 6 additions and 6 deletions

View File

@ -156,12 +156,6 @@
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Cost')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-cost_remark" readonly class="form-control" type="text" value="{$row.cost_remark|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('材料成本')}:</label>

View File

@ -53,8 +53,14 @@ class NoticeLogic
$log->save();
}
$log->status = 1;
$log->save();
return;
$reponse = DyvmsService::getInstance()->call($dispatch->worker_tel, $ttsCode, md5(time()));
if($reponse->statusCode == 200 && $reponse->body->code == 'OK'){
$log->status = 1;
$log->callId = $reponse->body->callId;