|
|
@@ -11,15 +11,14 @@ import (
|
|
|
)
|
|
|
|
|
|
// BankCard4 银行卡四要素认证(测试)
|
|
|
-// @Summary 银行卡四要素认证(测试)
|
|
|
-// @Produce json
|
|
|
-// @Security ApiKeyAuth
|
|
|
-// @accept application/json
|
|
|
-// @Param data body asignService.APICompanyBankCard4Req true "入参"
|
|
|
-// @Success 200 {object} asignService.APIBankCard4Rsp
|
|
|
-// @Failure 500 {object} app.Response
|
|
|
-// @Router /Asign/TestBankCard4 [post]
|
|
|
-// @Tags 爱签
|
|
|
+// @Summary 银行卡四要素认证(测试)
|
|
|
+// @Produce json
|
|
|
+// @accept application/json
|
|
|
+// @Param data body asignService.APICompanyBankCard4Req true "入参"
|
|
|
+// @Success 200 {object} asignService.APIBankCard4Rsp
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
+// @Router /Asign/TestBankCard4 [post]
|
|
|
+// @Tags 爱签
|
|
|
func TestBankCard4(c *gin.Context) {
|
|
|
appG := app.Gin{C: c}
|
|
|
|
|
|
@@ -42,14 +41,13 @@ func TestBankCard4(c *gin.Context) {
|
|
|
// CaptcaResend 重新发送认证验证码(测试)
|
|
|
// @Summary 重新发送认证验证码(测试)
|
|
|
// @Description 在实名认证的过程中,因用户手机原因未收到短信验证码或原验证码超过15分钟有效期而过期时,可以调用此接口重新发送短信验证码。若1分钟内多次调用此接口,则仅会发送一次短信验证码,15分钟内重新发送短信验证码不会变化。
|
|
|
-// @Produce json
|
|
|
-// @Security ApiKeyAuth
|
|
|
-// @accept application/json
|
|
|
+// @Produce json
|
|
|
+// @accept application/json
|
|
|
// @Param data body asignService.APICaptchaResendReq true "入参"
|
|
|
// @Success 200 {object} app.Response
|
|
|
-// @Failure 500 {object} app.Response
|
|
|
+// @Failure 500 {object} app.Response
|
|
|
// @Router /Asign/TestCaptcaResend [post]
|
|
|
-// @Tags 爱签
|
|
|
+// @Tags 爱签
|
|
|
func TestCaptcaResend(c *gin.Context) {
|
|
|
appG := app.Gin{C: c}
|
|
|
|
|
|
@@ -73,7 +71,6 @@ func TestCaptcaResend(c *gin.Context) {
|
|
|
// @Summary 认证验证码校验(测试)
|
|
|
// @Description 验证码认证成功后会调用爱签添加用户接口,同时调用交易系统JAVA实名认证接口
|
|
|
// @Produce json
|
|
|
-// @Security ApiKeyAuth
|
|
|
// @accept application/json
|
|
|
// @Param data body asignService.APICaptchaVerifyReq true "入参"
|
|
|
// @Success 200 {object} asignService.APICaptchaVerifyRsp
|
|
|
@@ -100,14 +97,13 @@ func TestCaptchaVerify(c *gin.Context) {
|
|
|
}
|
|
|
|
|
|
// CaptchaVerify 添加企业用户(V2)(测试)
|
|
|
-// @Summary 添加企业用户(V2)(测试)
|
|
|
+// @Summary 添加企业用户(V2)(测试)
|
|
|
// @Produce json
|
|
|
-// @Security ApiKeyAuth
|
|
|
// @accept application/json
|
|
|
-// @Param data body asignService.APIAddEnterpriseUserReq true "入参"
|
|
|
-// @Success 200 {object} asignService.APIAddUserRsp
|
|
|
+// @Param data body asignService.APIAddEnterpriseUserReq true "入参"
|
|
|
+// @Success 200 {object} asignService.APIAddUserRsp
|
|
|
// @Failure 500 {object} app.Response
|
|
|
-// @Router /Asign/TestAddEnterpriseUser [post]
|
|
|
+// @Router /Asign/TestAddEnterpriseUser [post]
|
|
|
// @Tags 爱签
|
|
|
func TestAddEnterpriseUser(c *gin.Context) {
|
|
|
appG := app.Gin{C: c}
|