iam-workbench-service.js 460 B

12345678910111213141516171819
  1. import axios from '@/common/services/axios-instance'
  2. class IamWorkbenchService {
  3. // 获取logo配置
  4. getLogoConfig() {
  5. return axios.post('api/xcoa-mobile/v1/iamlogoconfig/we-open-api/getLogos').then((res) => {
  6. return res
  7. })
  8. }
  9. // 保存logo配置
  10. saveLogoConfig(params) {
  11. return axios.post('api/xcoa-mobile/v1/iamlogoconfig/saveLogo', params).then((res) => {
  12. return res
  13. })
  14. }
  15. }
  16. export default new IamWorkbenchService()