acdr-ui/dist/build/mp-weixin/service/auth.js

2 lines
361 B
JavaScript

"use strict";const t=require("../utils/http.js");exports.isBindPhone=()=>{return e=exports,r=null,n=function*(){return yield t.httpGet("/auth/isPhoneBind")},new Promise(((t,s)=>{var i=t=>{try{u(n.next(t))}catch(e){s(e)}},o=t=>{try{u(n.throw(t))}catch(e){s(e)}},u=e=>e.done?t(e.value):Promise.resolve(e.value).then(i,o);u((n=n.apply(e,r)).next())}));var e,r,n};