"use strict";
const common_vendor = require("../../common/vendor.js");
const service_base_index = require("../../service/base/index.js");
const utils_common = require("../../utils/common.js");
const usePreserMember = async () => {
  let queryData = {
    isCache: false,
    isEncrypt: true,
    hosId: getApp().globalData.districtId || getApp().globalData.hosId,
    openid: common_vendor.index.getStorageSync("openid")
  };
  let { resp, resData } = await service_base_index.QueryBaseMemberList_V3(queryData);
  getApp().globalData.currentUser = null;
  if (resData.RespCode == 1e4 && utils_common.isNotEmpty(resp)) {
    common_vendor.index.setStorageSync("memberList", resp);
  } else {
    common_vendor.index.setStorageSync("memberList", null);
  }
};
exports.usePreserMember = usePreserMember;
//# sourceMappingURL=../../../.sourcemap/mp-alipay/hook/use-preser-member/index.js.map
