wang hou sheng 7 months ago
parent d390b5581e
commit 42df64b48c
  1. 5
      app/api/controller/User.php

@ -305,7 +305,10 @@ class User extends Controller
return $this->renderSuccess("参数错误");
}
$detail = AgreementModel::detail(['type' => $params['type']]);
return $this->renderSuccess(compact('detail'), 'success');
if (!empty($detail->content)) {
$detail->content = str_ireplace('nowrap', 'inherit', $detail->content);
}
return $this->renderSuccess(compact('detail'));
}
/**

Loading…
Cancel
Save