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查询