//api接口统一定义
const { http } = uni.$u
//登录
export const onlogin=(params, config = {}) => http.post('/api/open/onlogin', params, config)
//bmi计算
export const calcbmi = (params,config={})=>http.post('/api/open/calcbmi',params,config);
//身高预测
export const calcpredictheight = (params,config={})=>http.post('/api/open/calcpredictheight',params,config);

// 解密用户数据
export const decryptdata = (params, config = {}) => http.post('/api/open/decryptdata', params, config)