Browse Source

修改接口

chenc 3 năm trước cách đây
mục cha
commit
4d1f4670b6

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