dingtalk-jsapi
Version:
钉钉 模块化 多端统一 API
1 lines • 829 B
JavaScript
function lwp$(e){return common_1.ddSdk.invokeAPI(exports.apiName,e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.lwp$=exports.ERROR_ANDROID_DEAL_ERROR=exports.mobileParamsDeal=exports.apiName=void 0;var common_1=require("../../../common");exports.apiName="internal.request.lwp",exports.mobileParamsDeal=function(e){var o=Object.assign({},e);return o.body=JSON.stringify(e.body),"undefined"!=typeof location&&(o.headers=Object.assign({referer:location.origin+location.pathname},o.headers||{})),e.url&&(o.uri=e.url),o},exports.ERROR_ANDROID_DEAL_ERROR="警告,存在 lwp 接口返回基础数据类型,在安卓下无法正常的处理,易出现异常情况,请让服务端同学修改此 lwp 接口,改为返回 object,不返回基础数据类型",exports.lwp$=lwp$,exports.default=lwp$;
;