保誠-保戶業務員媒合平台
wayne
2022-01-26 6fa4bba623713c396432ba8b863846883d6a1906
PAMapp/shared/services/account-setting.service.ts
@@ -1,6 +1,6 @@
import { http } from "./httpClient";
import { UserSetting } from "~/shared/models/account.model";
import { AgentInfoSetting, UserSetting } from "~/shared/models/account.model";
class AccountSettingService{
@@ -13,5 +13,10 @@
    return http.put('/customer/info', params ).then(res => res.data);
  }
  //編輯顧問帳號資訊
  async editAgentInfoSetting(params:any):  Promise<AgentInfoSetting>{
    return http.post('/consultant/edit',params).then(res => res.data);
  }
}
export default new AccountSettingService();