|
|
@ -305,7 +305,10 @@ class User extends Controller |
|
|
|
return $this->renderSuccess("参数错误"); |
|
|
|
return $this->renderSuccess("参数错误"); |
|
|
|
} |
|
|
|
} |
|
|
|
$detail = AgreementModel::detail(['type' => $params['type']]); |
|
|
|
$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')); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|