浏览代码

新增证书模块的proto以及证书的增删改功能

YuXinLong 1 年之前
父节点
当前提交
4326de022b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main.py

+ 2 - 2
src/main.py

@@ -335,10 +335,10 @@ class CertDeliveryServiceServicer(llnwCERT_pb2_grpc.CertDeliveryServiceServicer)
             return check_cert_update_error(res)
 
     def DeleteSSLCert(self, request, context):
-        print("deleteSSLCert")
+        print("DeleteSSLCert")
         print("请求:", request)
         try:
-            res = get_cl(request.base).delete_customer_certificate(uuid=request.uuid)
+            res = get_cl(request.base).delete_customer_certificate(uuid=request.uuid).json()
             print("响应:", res)
         except:
             return DeleteSSLCertResponse(isSuccess=False)