updateBpgDataRemark(remark: Object)

版本要求:
@ray-js/ray≥1.5.40
import { health } from '@ray-js/ray';

const { updateBpgDataRemark } = health;

// Promise 调用
try {
  const res = await updateBpgDataRemark({ ...params });
  console.log(res);
} catch (err) {
  console.log(err.errorMsg);
}

描述

更新血压数据备注

参数

属性类型必填说明
remarkstring是备注
uuidstring是血压数据 ID

返回值

类型:Promise<boolean>

示例代码

基础用法

import { health } from '@ray-js/ray'

health.updateBpgDataRemark({
  uuid: 'bpg123',
  remark: '饭后测量',
}).then((success) => {
  console.log('更新结果:', success);
}).catch((error) => {
  console.error(error);
});