作者 yangfu

共创申请适配

... ... @@ -15,7 +15,7 @@ type UpdateCooperationProjectCommand struct {
// 模式编码,唯一确定
CooperationModeNumber string `json:"cooperationModeNumber" valid:"Required"`
// 组织ID
OrgId int64 `json:"departmentId,string" valid:"Required"`
OrgId int64 `json:"departmentId" valid:"Required"`
// 共创项目名称
CooperationProjectName string `json:"cooperationProjectName" valid:"Required"`
// 共创发起人id
... ...
... ... @@ -101,25 +101,26 @@ type CooperationApplication struct {
}
func ToCooperationApplication(applicationParam *allied_creation_cooperation.CooperationApplication) *CooperationApplication {
data := CooperationApplication{
CooperationApplicationAttachment: applicationParam.CooperationApplicationAttachment, //附件信息
CooperationApplicationDescription: applicationParam.CooperationApplicationDescription,
CooperationApplicationId: applicationParam.CooperationApplicationID,
CooperationApplicationStatus: applicationParam.CooperationApplicationStatus, //共创申请审核状态,1待审核,2已同意,3已拒绝
CooperationApplicationVerifyTime: int(applicationParam.CooperationApplicationVerifyTime.Unix()), //审核的时间
CooperationProjectId: applicationParam.CooperationProject.CooperationProjectID,
CooperationProjectName: applicationParam.CooperationProject.CooperationProjectName,
CooperationProjectNumber: applicationParam.CooperationProject.CooperationProjectNumber,
CooperationApplicationVerifyDescription: applicationParam.CooperationApplicationVerifyDescription,
}
data.CooperationApplicationApplicant.UserId = applicationParam.CooperationApplicationApplicant.UserID
data.CooperationApplicationApplicant.UserInfo.Phone = applicationParam.CooperationApplicationApplicant.UserInfo.UserPhone
data.CooperationApplicationApplicant.UserInfo.UsersName = applicationParam.CooperationApplicationApplicant.UserInfo.UserName
data.CooperationApplicationApplicant.UserInfo.UsersId = applicationParam.CooperationApplicationApplicant.UserID
data.CooperationApplicationApplicant.Department.DepartmentId = applicationParam.CooperationApplicationApplicant.Department.DepartmentID
data.CooperationApplicationApplicant.Department.DepartmentName = applicationParam.CooperationApplicationApplicant.Department.DepartmentName
data.CooperationApplicationApplicant.Department.DepartmentNumber = applicationParam.CooperationApplicationApplicant.Department.DepartmentNumber
data.Company.CompanyID = applicationParam.Company.CompanyID
data.Company.CompanyName = applicationParam.Company.CompanyName
return &data
//data := CooperationApplication{
// CooperationApplicationAttachment: applicationParam.CooperationApplicationAttachment, //附件信息
// CooperationApplicationDescription: applicationParam.CooperationApplicationDescription,
// CooperationApplicationId: applicationParam.CooperationApplicationID,
// CooperationApplicationStatus: applicationParam.CooperationApplicationStatus, //共创申请审核状态,1待审核,2已同意,3已拒绝
// CooperationApplicationVerifyTime: int(applicationParam.CooperationApplicationVerifyTime.Unix()), //审核的时间
// CooperationProjectId: applicationParam.CooperationProject.CooperationProjectID,
// CooperationProjectName: applicationParam.CooperationProject.CooperationProjectName,
// CooperationProjectNumber: applicationParam.CooperationProject.CooperationProjectNumber,
// CooperationApplicationVerifyDescription: applicationParam.CooperationApplicationVerifyDescription,
//}
//data.CooperationApplicationApplicant.UserId = applicationParam.CooperationApplicationApplicant.UserID
//data.CooperationApplicationApplicant.UserInfo.Phone = applicationParam.CooperationApplicationApplicant.UserInfo.UserPhone
//data.CooperationApplicationApplicant.UserInfo.UsersName = applicationParam.CooperationApplicationApplicant.UserInfo.UserName
//data.CooperationApplicationApplicant.UserInfo.UsersId = applicationParam.CooperationApplicationApplicant.UserID
//data.CooperationApplicationApplicant.Department.DepartmentId = applicationParam.CooperationApplicationApplicant.Department.DepartmentID
//data.CooperationApplicationApplicant.Department.DepartmentName = applicationParam.CooperationApplicationApplicant.Department.DepartmentName
//data.CooperationApplicationApplicant.Department.DepartmentNumber = applicationParam.CooperationApplicationApplicant.Department.DepartmentNumber
//data.Company.CompanyID = applicationParam.Company.CompanyID
//data.Company.CompanyName = applicationParam.Company.CompanyName
//return &data
return nil
}
... ...
... ... @@ -5,7 +5,6 @@ import (
"github.com/linmadan/egglib-go/core/application"
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/mobile/cooperation/command"
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/mobile/cooperation/dto"
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/infrastructure/service_gateway/allied_creation_cooperation"
)
... ... @@ -25,17 +24,17 @@ func (srv CooperationApplicationsService) GetCooperationApplications(application
if err != nil {
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
}
resultProject, err := creationCooperationGateway.CooperationProjectGet(allied_creation_cooperation.ReqCooperationProjectGet{
CooperationProjectId: resultApplication.CooperationProject.CooperationProjectID,
})
if err != nil {
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
}
data := map[string]interface{}{
"cooperationApplication": dto.ToCooperationApplication(&resultApplication.CooperationApplication),
"cooperationProject": dto.ToCooperationProjectInfo(&resultProject.CooperationProject),
}
return data, nil
//resultProject, err := creationCooperationGateway.CooperationProjectGet(allied_creation_cooperation.ReqCooperationProjectGet{
// CooperationProjectId: resultApplication.CooperationProject.CooperationProjectID,
//})
//if err != nil {
// return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
//}
//data := map[string]interface{}{
// "cooperationApplication": dto.ToCooperationApplication(&resultApplication.CooperationApplication),
// "cooperationProject": dto.ToCooperationProjectInfo(&resultProject.CooperationProject),
//}
return resultApplication, nil
}
// AuditCooperationApplications 企业审核共创申请
... ... @@ -109,17 +108,17 @@ func (srv CooperationApplicationsService) PersonGetCooperationApplications(appli
if err != nil {
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
}
resultProject, err := creationCooperationGateway.CooperationProjectGet(allied_creation_cooperation.ReqCooperationProjectGet{
CooperationProjectId: resultApplication.CooperationProject.CooperationProjectID,
})
if err != nil {
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
}
data := map[string]interface{}{
"cooperationApplication": dto.ToCooperationApplication(&resultApplication.CooperationApplication),
"cooperationProject": dto.ToCooperationProjectInfo(&resultProject.CooperationProject),
}
return data, nil
//resultProject, err := creationCooperationGateway.CooperationProjectGet(allied_creation_cooperation.ReqCooperationProjectGet{
// CooperationProjectId: resultApplication.CooperationProject.CooperationProjectID,
//})
//if err != nil {
// return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
//}
//data := map[string]interface{}{
// "cooperationApplication": dto.ToCooperationApplication(&resultApplication.CooperationApplication),
// "cooperationProject": dto.ToCooperationProjectInfo(&resultProject.CooperationProject),
//}
return resultApplication, nil
}
// PersonCancelCooperationApplications 共创用户取消共创申请
... ...
... ... @@ -34,23 +34,24 @@ type CooperationApplicationItem struct {
}
func ToCooperationApplicationItem(param *allied_creation_cooperation.CooperationApplication) *CooperationApplicationItem {
data := CooperationApplicationItem{
CooperationApplicationAttachment: param.CooperationApplicationAttachment,
CooperationApplicationDescription: param.CooperationApplicationDescription,
CooperationApplicationID: param.CooperationApplicationID,
IsCanceled: param.IsCanceled,
CooperationApplicationVerifyDescription: param.CooperationApplicationVerifyDescription,
CooperationApplicationStatus: param.CooperationApplicationStatus,
Org: param.Org,
}
data.CooperationApplicationApplicant.UserName = param.CooperationApplicationApplicant.UserInfo.UserName
data.CooperationApplicationApplicant.Phone = param.CooperationApplicationApplicant.UserInfo.UserPhone
data.CooperationApplicationApplicant.UserCode = param.CooperationApplicationApplicant.UserInfo.UserPhone
data.CooperationApplicationApplicant.DepartmentName = param.CooperationApplicationApplicant.Department.DepartmentName
data.CooperationProject.CooperationProjectID = param.CooperationProject.CooperationProjectID
data.CooperationProject.CooperationProjectName = param.CooperationProject.CooperationProjectName
data.CooperationProject.CooperationProjectNumber = param.CooperationProject.CooperationProjectNumber
return &data
//data := CooperationApplicationItem{
// CooperationApplicationAttachment: param.CooperationApplicationAttachment,
// CooperationApplicationDescription: param.CooperationApplicationDescription,
// CooperationApplicationID: param.CooperationApplicationID,
// IsCanceled: param.IsCanceled,
// CooperationApplicationVerifyDescription: param.CooperationApplicationVerifyDescription,
// CooperationApplicationStatus: param.CooperationApplicationStatus,
// Org: param.Org,
//}
//data.CooperationApplicationApplicant.UserName = param.CooperationApplicationApplicant.UserInfo.UserName
//data.CooperationApplicationApplicant.Phone = param.CooperationApplicationApplicant.UserInfo.UserPhone
//data.CooperationApplicationApplicant.UserCode = param.CooperationApplicationApplicant.UserInfo.UserPhone
//data.CooperationApplicationApplicant.DepartmentName = param.CooperationApplicationApplicant.Department.DepartmentName
//data.CooperationProject.CooperationProjectID = param.CooperationProject.CooperationProjectID
//data.CooperationProject.CooperationProjectName = param.CooperationProject.CooperationProjectName
//data.CooperationProject.CooperationProjectNumber = param.CooperationProject.CooperationProjectNumber
//return &data
return nil
}
type CooperationApplicationInfo struct {
... ... @@ -85,24 +86,25 @@ type CooperationApplicationInfo struct {
func ToCooperationApplicationInfo(applicationParam *allied_creation_cooperation.CooperationApplication,
objectParam *allied_creation_cooperation.CooperationProject) *CooperationApplicationInfo {
data := CooperationApplicationInfo{
CooperationApplicationAttachment: applicationParam.CooperationApplicationAttachment,
CooperationApplicationDescription: applicationParam.CooperationApplicationDescription,
CooperationApplicationID: applicationParam.CooperationApplicationID,
IsCanceled: applicationParam.IsCanceled,
CooperationApplicationVerifyDescription: applicationParam.CooperationApplicationVerifyDescription,
CooperationApplicationStatus: applicationParam.CooperationApplicationStatus,
Org: applicationParam.Org,
}
data.CooperationProject.CooperationProjectID = objectParam.CooperationProjectId
data.CooperationProject.CooperationProjectName = objectParam.CooperationProjectName
data.CooperationProject.CooperationProjectNumber = objectParam.CooperationProjectNumber
data.CooperationProject.CooperationMode.CooperationModeId = objectParam.CooperationMode.CooperationModeId
data.CooperationProject.CooperationMode.CooperationModeName = objectParam.CooperationMode.CooperationModeName
data.CooperationProject.CooperationMode.CooperationModeNumber = objectParam.CooperationMode.CooperationModeNumber
data.CooperationApplicationApplicant.UserName = applicationParam.CooperationApplicationApplicant.UserInfo.UserName
data.CooperationApplicationApplicant.Phone = applicationParam.CooperationApplicationApplicant.UserInfo.UserPhone
data.CooperationApplicationApplicant.UserCode = applicationParam.CooperationApplicationApplicant.UserInfo.UserPhone
data.CooperationApplicationApplicant.DepartmentName = applicationParam.CooperationApplicationApplicant.Department.DepartmentName
return &data
//data := CooperationApplicationInfo{
// CooperationApplicationAttachment: applicationParam.CooperationApplicationAttachment,
// CooperationApplicationDescription: applicationParam.CooperationApplicationDescription,
// CooperationApplicationID: applicationParam.CooperationApplicationID,
// IsCanceled: applicationParam.IsCanceled,
// CooperationApplicationVerifyDescription: applicationParam.CooperationApplicationVerifyDescription,
// CooperationApplicationStatus: applicationParam.CooperationApplicationStatus,
// Org: applicationParam.Org,
//}
//data.CooperationProject.CooperationProjectID = objectParam.CooperationProjectId
//data.CooperationProject.CooperationProjectName = objectParam.CooperationProjectName
//data.CooperationProject.CooperationProjectNumber = objectParam.CooperationProjectNumber
//data.CooperationProject.CooperationMode.CooperationModeId = objectParam.CooperationMode.CooperationModeId
//data.CooperationProject.CooperationMode.CooperationModeName = objectParam.CooperationMode.CooperationModeName
//data.CooperationProject.CooperationMode.CooperationModeNumber = objectParam.CooperationMode.CooperationModeNumber
//data.CooperationApplicationApplicant.UserName = applicationParam.CooperationApplicationApplicant.UserInfo.UserName
//data.CooperationApplicationApplicant.Phone = applicationParam.CooperationApplicationApplicant.UserInfo.UserPhone
//data.CooperationApplicationApplicant.UserCode = applicationParam.CooperationApplicationApplicant.UserInfo.UserPhone
//data.CooperationApplicationApplicant.DepartmentName = applicationParam.CooperationApplicationApplicant.Department.DepartmentName
//return &data
return nil
}
... ...
... ... @@ -71,12 +71,12 @@ func (cooperationApplicationService *CooperationApplicationService) ListCooperat
if err != nil {
return 0, nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
}
var dataList []dto.CooperationApplicationItem
for i := range result.Grid.List {
item := dto.ToCooperationApplicationItem(&result.Grid.List[i])
dataList = append(dataList, *item)
}
return int64(result.Grid.Total), dataList, nil
//var dataList []dto.CooperationApplicationItem
//for i := range result.Grid.List {
// item := dto.ToCooperationApplicationItem(&result.Grid.List[i])
// dataList = append(dataList, *item)
//}
return int64(result.Grid.Total), result.Grid, nil
}
func NewCooperationApplicationService(options map[string]interface{}) *CooperationApplicationService {
... ...
... ... @@ -91,24 +91,25 @@ type CooperationApplicationItem struct {
}
func ToCooperationApplicationItem(param *allied_creation_cooperation.CooperationApplication) *CooperationApplicationItem {
data := CooperationApplicationItem{
CooperationApplicationDescription: param.CooperationApplicationDescription,
CooperationApplicationID: param.CooperationApplicationID,
CooperationApplicationStatus: param.CooperationApplicationStatus,
CooperationApplyTime: int(param.CooperationApplyTime.Unix()),
CooperationApplicationAttachment: param.CooperationApplicationAttachment,
}
data.CooperationApplicationApplicant.Company.CompanyID = param.CooperationApplicationApplicant.Company.CompanyID
data.CooperationApplicationApplicant.Company.CompanyName = param.CooperationApplicationApplicant.Company.CompanyName
data.CooperationApplicationApplicant.Department.DepartmentId = param.CooperationApplicationApplicant.Department.DepartmentID
data.CooperationApplicationApplicant.Department.DepartmentName = param.CooperationApplicationApplicant.Department.DepartmentName
data.CooperationApplicationApplicant.Department.DepartmentNumber = param.CooperationApplicationApplicant.Department.DepartmentNumber
data.CooperationApplicationApplicant.Org.OrgID = param.CooperationApplicationApplicant.Org.OrgID
data.CooperationApplicationApplicant.Org.OrgName = param.CooperationApplicationApplicant.Org.OrgName
data.CooperationApplicationApplicant.UserID = param.CooperationApplicationApplicant.UserID
data.CooperationApplicationApplicant.UserType = param.CooperationApplicationApplicant.UserType
data.CooperationApplicationApplicant.UserInfo.Phone = param.CooperationApplicationApplicant.UserInfo.UserPhone
data.CooperationApplicationApplicant.UserInfo.UsersName = param.CooperationApplicationApplicant.UserInfo.UserName
data.CooperationApplicationApplicant.UserInfo.UsersId = param.CooperationApplicationApplicant.UserID
return &data
//data := CooperationApplicationItem{
// CooperationApplicationDescription: param.CooperationApplicationDescription,
// CooperationApplicationID: param.CooperationApplicationID,
// CooperationApplicationStatus: param.CooperationApplicationStatus,
// CooperationApplyTime: int(param.CooperationApplyTime.Unix()),
// CooperationApplicationAttachment: param.CooperationApplicationAttachment,
//}
//data.CooperationApplicationApplicant.Company.CompanyID = param.CooperationApplicationApplicant.Company.CompanyID
//data.CooperationApplicationApplicant.Company.CompanyName = param.CooperationApplicationApplicant.Company.CompanyName
//data.CooperationApplicationApplicant.Department.DepartmentId = param.CooperationApplicationApplicant.Department.DepartmentID
//data.CooperationApplicationApplicant.Department.DepartmentName = param.CooperationApplicationApplicant.Department.DepartmentName
//data.CooperationApplicationApplicant.Department.DepartmentNumber = param.CooperationApplicationApplicant.Department.DepartmentNumber
//data.CooperationApplicationApplicant.Org.OrgID = param.CooperationApplicationApplicant.Org.OrgID
//data.CooperationApplicationApplicant.Org.OrgName = param.CooperationApplicationApplicant.Org.OrgName
//data.CooperationApplicationApplicant.UserID = param.CooperationApplicationApplicant.UserID
//data.CooperationApplicationApplicant.UserType = param.CooperationApplicationApplicant.UserType
//data.CooperationApplicationApplicant.UserInfo.Phone = param.CooperationApplicationApplicant.UserInfo.UserPhone
//data.CooperationApplicationApplicant.UserInfo.UsersName = param.CooperationApplicationApplicant.UserInfo.UserName
//data.CooperationApplicationApplicant.UserInfo.UsersId = param.CooperationApplicationApplicant.UserID
//return &data
return nil
}
... ...
package allied_creation_cooperation
import (
"time"
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/domain"
)
//共创申请实体
type CooperationApplication struct {
Company struct {
CompanyID int `json:"companyId"`
CompanyLogo string `json:"companyLogo"`
CompanyName string `json:"companyName"`
} `json:"company"`
CooperationApplicationID string `json:"cooperationApplicationId"`
CooperationApplicationApplicant struct {
Company struct {
CompanyID int `json:"companyId"`
CompanyLogo string `json:"companyLogo"`
CompanyName string `json:"companyName"`
} `json:"company"`
Department struct {
DepartmentID int `json:"departmentId"`
DepartmentName string `json:"departmentName"`
DepartmentNumber string `json:"departmentNumber"`
} `json:"department"`
Org struct {
OrgID int `json:"orgId"`
OrgName string `json:"orgName"`
} `json:"org"`
UserBaseID int `json:"userBaseId"`
UserID int `json:"userId"`
UserInfo struct {
UserAccount string `json:"userAccount"`
UserID int `json:"userId"`
UserInfo struct {
UserAvatar string `json:"userAvatar"`
UserEmail string `json:"userEmail"`
UserName string `json:"userName"`
UserPhone string `json:"userPhone"`
UserAccount string `json:"userAccount"`
} `json:"userInfo"`
UserType int `json:"userType"`
Department interface{} `json:"department"`
} `json:"cooperationApplicationApplicant"`
CooperationApplicationAttachment []domain.Attachment `json:"cooperationApplicationAttachment"`
CooperationApplicationDescription string `json:"cooperationApplicationDescription"`
CooperationApplicationID int `json:"cooperationApplicationId"`
CooperationApplicationStatus int `json:"cooperationApplicationStatus"` //共创申请审核状态,1待审核,2已同意,3已拒绝
CooperationApplicationAttachment []struct {
FileType string `json:"fileType"`
Name string `json:"name"`
URL string `json:"url"`
FileSize string `json:"fileSize"`
} `json:"cooperationApplicationAttachment"`
CooperationApplicationDescription string `json:"cooperationApplicationDescription"`
CooperationApplicationStatus int `json:"cooperationApplicationStatus"`
CooperationApplicationVerifier struct {
Company struct {
CompanyID int `json:"companyId"`
CompanyLogo string `json:"companyLogo"`
CompanyName string `json:"companyName"`
} `json:"company"`
Department struct {
DepartmentID int `json:"departmentId"`
DepartmentName string `json:"departmentName"`
DepartmentNumber string `json:"departmentNumber"`
IsOrganization bool `json:"isOrganization"`
} `json:"department"`
Org struct {
Company struct {
CompanyID int `json:"companyId"`
CompanyLogo string `json:"companyLogo"`
CompanyName string `json:"companyName"`
} `json:"company"`
OrgID int `json:"orgId"`
OrgName string `json:"orgName"`
} `json:"org"`
UserBaseID int `json:"userBaseId"`
UserID int `json:"userId"`
UserInfo struct {
UserAccount string `json:"userAccount"`
UserAvatar string `json:"userAvatar"`
UserEmail string `json:"userEmail"`
UserName string `json:"userName"`
UserPhone string `json:"userPhone"`
} `json:"userInfo"`
UserType int `json:"userType"`
UserID int `json:"userId"`
Department interface{} `json:"department"`
} `json:"cooperationApplicationVerifier"`
CooperationApplicationVerifyDescription string `json:"cooperationApplicationVerifyDescription"`
CooperationApplicationVerifyTime time.Time `json:"cooperationApplicationVerifyTime"`
CooperationApplyTime time.Time `json:"cooperationApplyTime"`
CooperationApplicationVerifyDescription string `json:"cooperationApplicationVerifyDescription"`
CooperationApplicationVerifyTime int64 `json:"cooperationApplicationVerifyTime"`
CooperationApplyTime int64 `json:"cooperationApplyTime"`
CooperationProject struct {
Company struct {
CompanyID int `json:"companyId"`
CompanyLogo string `json:"companyLogo"`
CompanyName string `json:"companyName"`
} `json:"company"`
CooperationProjectDescription string `json:"cooperationProjectDescription"`
CooperationProjectID int `json:"cooperationProjectId"`
CooperationProjectName string `json:"cooperationProjectName"`
CooperationProjectNumber string `json:"cooperationProjectNumber"`
CooperationProjectPublishTime string `json:"cooperationProjectPublishTime"`
CooperationProjectSponsor struct {
Company struct {
CompanyID int `json:"companyId"`
CompanyLogo string `json:"companyLogo"`
CompanyName string `json:"companyName"`
} `json:"company"`
Department struct {
DepartmentID int `json:"departmentId"`
DepartmentName string `json:"departmentName"`
DepartmentNumber string `json:"departmentNumber"`
IsOrganization bool `json:"isOrganization"`
} `json:"department"`
Org struct {
Company struct {
CompanyID int `json:"companyId"`
CompanyLogo string `json:"companyLogo"`
CompanyName string `json:"companyName"`
} `json:"company"`
OrgID int `json:"orgId"`
OrgName string `json:"orgName"`
} `json:"org"`
Status int `json:"status"`
UserBaseID int `json:"userBaseId"`
UserID int `json:"userId"`
UserInfo struct {
UserAccount string `json:"userAccount"`
UserAvatar string `json:"userAvatar"`
UserEmail string `json:"userEmail"`
UserName string `json:"userName"`
UserPhone string `json:"userPhone"`
} `json:"userInfo"`
UserType int `json:"userType"`
} `json:"cooperationProjectSponsor"`
CooperationProjectUndertakerType []int `json:"cooperationProjectUndertakerType"`
CreatedAt string `json:"createdAt"`
DeletedAt string `json:"deletedAt"`
OperateTime string `json:"operateTime"`
Org struct {
OrgID int `json:"orgId"`
OrgName string `json:"orgName"`
} `json:"org"`
Status int `json:"status"`
UpdatedAt string `json:"updatedAt"`
CooperationProjectDescription string `json:"cooperationProjectDescription"`
CooperationProjectName string `json:"cooperationProjectName"`
} `json:"cooperationProject"`
CreatedAt string `json:"createdAt"`
Org struct {
Org struct {
OrgID int `json:"orgId"`
OrgName string `json:"orgName"`
} `json:"org"`
IsCanceled bool `json:"isCanceled"`
UpdatedAt string `json:"updatedAt"`
IsCanceled bool `json:"isCanceled"`
Company struct {
CompanyID string `json:"companyId"`
CompanyLogo string `json:"companyLogo"`
CompanyName string `json:"companyName"`
} `json:"company"`
}
//更新共创申请
... ...