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();