新增 补充所有用户云证书数据-纯接口,无调用
This commit is contained in:
@@ -220,3 +220,16 @@ func (r *UserCaCert) GetHospitalCloudCert(c *gin.Context) {
|
||||
|
||||
responses.OkWithData(userCaCert, c)
|
||||
}
|
||||
|
||||
// UserCloudCert 补充所有用户云证书数据-纯接口,无调用
|
||||
func (r *UserCaCert) UserCloudCert(c *gin.Context) {
|
||||
// 业务处理
|
||||
userCaCertService := service.UserCaCertService{}
|
||||
_, err := userCaCertService.UserCloudCert()
|
||||
if err != nil {
|
||||
responses.FailWithMessage(err.Error(), c)
|
||||
return
|
||||
}
|
||||
|
||||
responses.Ok(c)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user