chenc 3 лет назад
Родитель
Сommit
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查询