import request from '/@/utils/request';

/**
 * 教室公物编辑及门锁密码
 * 接口文档：POST /api/stuwork/classassets/edit
 * @param data 教室公物数据（包含 buildingNo, deptName, classCode, position, platformType, tyType, tvType, chairCnt, tableCnt, remarks, password 等）
 */
export const editAssets = (data: any) => {
  return request({
    url: '/stuwork/classassets/edit',
    method: 'post',
    data,
  });
};
