소스 검색

修改接口

chenc 3 년 전
부모
커밋
4d1f4670b6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/app/services/basedata/base-customer-industry.service.ts

+ 1 - 1
src/app/services/basedata/base-customer-industry.service.ts

@@ -26,7 +26,7 @@ export class BaseCustomerIndustryService {
 
   //修改
   async update(body: BaseCustomerIndustry): Promise<BaseResponse<any>> {
-    return await this.http.post<BaseResponse<any>>('basedata/baseCustomerIndustry/edit', body).toPromise();
+    return await this.http.put<BaseResponse<any>>('basedata/baseCustomerIndustry/edit', body).toPromise();
   }
 
   //根据id查询