Kirin hace 1 año
padre
commit
c1d4edf8c8
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      app/api/controller/user/UserController.php

+ 6 - 0
app/api/controller/user/UserController.php

@@ -2,6 +2,7 @@
 
 namespace app\api\controller\user;
 
+use app\admin\model\user\CertType;
 use app\http\validates\user\AddressValidate;
 use app\models\member\MemberCheck;
 use app\models\member\MemberGrade;
@@ -739,6 +740,11 @@ class UserController
             return app('json')->fail('核销失败');
     }
 
+    public function jobs(Request $request)
+    {
+        return app('json')->success('ok', ['data' => CertType::column('cert_name')]);
+    }
+
 
     public function addCert(Request $request)
     {