|
@@ -16,7 +16,7 @@ type ContractCommon struct {
|
|
|
// @Description 合同详情接口接口
|
|
|
// @Param CompanyId query int true "客户ID"
|
|
|
// @Param CompanyContractId query int true "合同id"
|
|
|
-// @Success 200 {object} contract.CompanyContractDetailResp
|
|
|
+// @Success 200 {object} company_contract.CompanyContractDetail
|
|
|
// @router /contract/detail [get]
|
|
|
func (this *ContractCommon) ApplyContractDetail() {
|
|
|
sysUser := this.AdminWx
|
|
@@ -89,7 +89,7 @@ func (this *ContractCommon) ApplyContractDetail() {
|
|
|
detail.PermissionList = append(detail.PermissionList, plist)
|
|
|
}
|
|
|
resp := contract.CompanyContractDetailResp{
|
|
|
- Item: detail,
|
|
|
+ detail,
|
|
|
}
|
|
|
this.OkDetailed(resp, "获取成功")
|
|
|
}
|