|
@@ -18,6 +18,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|
|
Handler: ClueAddHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 新增受理单
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/addAcceptance",
|
|
|
Handler: addAcceptanceHandler(serverCtx),
|
|
@@ -28,11 +29,13 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|
|
Handler: AddProjectReqHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 资讯全量导出
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/allInfoExport",
|
|
|
Handler: allInfoExportHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 项目全量导出
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/allProjectExport",
|
|
|
Handler: allProjectExportHandler(serverCtx),
|
|
@@ -58,6 +61,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|
|
Handler: ClueImportTlHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 创建线索
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/createClueByPhone",
|
|
|
Handler: createClueHandler(serverCtx),
|
|
@@ -78,6 +82,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|
|
Handler: DrawClueHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 公司类型
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/getCompanyType",
|
|
|
Handler: getCompanyTypeHandler(serverCtx),
|
|
@@ -88,6 +93,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|
|
Handler: GetInfoIdHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 资讯操作
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/infoOperate",
|
|
|
Handler: infoOperateHandler(serverCtx),
|
|
@@ -98,36 +104,43 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|
|
Handler: MyDataAssetHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 用户身份
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/myInfo",
|
|
|
Handler: MyinfoHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 资源中台授权
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/resEmpower",
|
|
|
Handler: ResEmpowerHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 发送邮件
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/sendCommonndMail",
|
|
|
Handler: sendComMailHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 数据导出(通用),发邮件
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/sendMail",
|
|
|
Handler: sendMailHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // bi通用接口
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/sqlManage",
|
|
|
Handler: sqlManageHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 客成线索移交
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/transferClueByPhone",
|
|
|
Handler: transferClueSuccHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
+ // 附件上传
|
|
|
Method: http.MethodPost,
|
|
|
Path: "/biService/upFile",
|
|
|
Handler: upFileHandler(serverCtx),
|