123456789101112131415161718192021222324252627282930 |
- package controller
- //
- //import (
- // "github.com/gin-gonic/gin"
- // "github.com/sirupsen/logrus"
- // "youngee_m_api/app/service/review_service"
- // "youngee_m_api/app/vo"
- //)
- //
- //type AccountController struct{}
- //
- //// 营业执照OCR识别
- //func (t AccountController) OCRIdentify(c *gin.Context) {
- // param := &vo.IdentifyParam{}
- // err := c.BindJSON(param)
- // if err != nil {
- // logrus.Errorf("Request bind err:%+v\n", err)
- // returnError(c, 40000, "Parameter Error: "+err.Error())
- // return
- // }
- // reviewService := review_service.GetConfig()
- // resultMap, err := reviewService.CheckBusinessLicense(param)
- // if err != nil {
- // logrus.Errorf("[OCRIdentify] call Show err:%+v\n", err)
- // returnError(c, 40000, err.Error())
- // return
- // }
- // returnSuccess(c, 20000, resultMap)
- //}
|