公告板
版本库
活动
搜索
登录
java
/
TourGuide
景区导游
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
update
liujie
2026-08-21
a7c8a8f6055e1a03414f2227d12ff2e87ec52d41
[java/TourGuide.git]
/
frontend
/
src
/
api
/
agreements.js
1
2
3
4
import http from './http'
export const getAgreements = () => http.get('/agreements')
export const updateAgreement = (code, content) => http.put(`/agreements/${code}`, { content })