|
@@ -34,7 +34,7 @@ func InitRoute(r *gin.Engine) {
|
|
|
c.JSON(200, resp)
|
|
|
})
|
|
|
m.GET("/product/getEnterpriseIds", handler.WrapGetEnterpriseIdsHandler) // 获取所有企业用户id
|
|
|
- m.POST("/product/list", handler.WrapFullProjectListHandler) // 查询项目列表
|
|
|
+ m.POST("/product/list", handler.WrapFullProjectListHandler) // 查询项目(全流程)列表
|
|
|
m.POST("/project/show", handler.WrapShowProjectHandler) // 项目展示查询
|
|
|
m.POST("/project/handle", handler.WrapProjectHandleHandler) // 项目线索处理
|
|
|
m.POST("/product/findall", handler.WrapFindEnterpriseAllProductHandler) // 企业用户详情所有产品
|
|
@@ -170,9 +170,9 @@ func InitRoute(r *gin.Engine) {
|
|
|
f.Use(middleware.LoginAuthMiddleware)
|
|
|
f.POST("/withdrawalRecords", handler.WrapWithdrawalRecordsHandler) // 搜索提现记录
|
|
|
f.POST("/getWithdrawalRecord", handler.WrapGetWithdrawalRecordHandler) // 查看提现记录
|
|
|
- f.GET("/getWithdrawNums", handler.WrapGetWithdrawNumsHandler) // 获取待提现的数量
|
|
|
- f.GET("/getInvoiceNums", handler.WrapGetInvoiceNumsHandler) // 获取待提现的数量
|
|
|
- f.GET("/getRechargeNums", handler.WrapGetRechargeNumsHandler) // 获取待开票的数量
|
|
|
+ f.GET("/getWithdrawNums", handler.WrapGetWithdrawNumsHandler) // 获取提现待确认的数量
|
|
|
+ f.GET("/getInvoiceNums", handler.WrapGetInvoiceNumsHandler) // 获取待开票的数量
|
|
|
+ f.GET("/getRechargeNums", handler.WrapGetRechargeNumsHandler) // 获取充值待确认的数量
|
|
|
f.POST("/ConfirmWithdrawal", handler.WrapConfirmWithdrawalHandler) // 确认提现
|
|
|
f.POST("/getBankInfo", handler.WrapGetBankInfoHandler) // 获取银行开户地信息
|
|
|
f.POST("/getCodeUrl", handler.WrapGetCodeUrlHandler) // 获取微信支付链接
|
|
@@ -180,5 +180,12 @@ func InitRoute(r *gin.Engine) {
|
|
|
f.POST("/confirmInvoice", handler.WrapConfirmInvoiceHandler) // 确认开票
|
|
|
f.POST("/rechargeRecords", handler.WrapRechargeRecordsHandler) // 搜索充值记录
|
|
|
f.POST("/operateRecharge", handler.WrapOperateRechargeHandler) // 充值记录的修改和确认操作
|
|
|
+
|
|
|
+ }
|
|
|
+ // 选品广场相关接口
|
|
|
+ s := r.Group("/youngee/m/selection")
|
|
|
+ {
|
|
|
+ s.Use(middleware.LoginAuthMiddleware)
|
|
|
+ s.GET("/reviewnumber", handler.WrapSelectionReviewNumberHandler) //查询选品待审核的数量
|
|
|
}
|
|
|
}
|