You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
424 B

3 days ago
import{h as t,l as n,k as r,q as e}from"./index-BznAv2H5.js";function o(){return t.get("/h5/me/profile",{},{withAuth:!0})}function i(n){return t.put("/h5/me/profile",n,{withAuth:!0})}function l(){try{const t=n(r.localProfile);if(!t)return null;const e="string"==typeof t?JSON.parse(t):t;return e&&"object"==typeof e?e:null}catch{return null}}function u(t){e(r.localProfile,JSON.stringify(t))}export{o as g,l,u as s,i as u};