refactor: frontend 重命名为 backend-adminend,新增 shccd159/shjjy153 配置
- frontend 目录迁移至 backend-adminend(管理后台前端) - 新增 application-shccd159.yml、application-shjjy153.yml - 更新 deploy.conf、DEPLOY.md、application.yml Made-with: Cursor
This commit is contained in:
30
backend-adminend/src/api/agreement.js
Normal file
30
backend-adminend/src/api/agreement.js
Normal file
@@ -0,0 +1,30 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: CRMEB Team <admin@crmeb.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
import request from '@/utils/request';
|
||||
|
||||
/**
|
||||
* @description 协议管理-- 详情
|
||||
*/
|
||||
export function agreementInfoApi(data) {
|
||||
return request.get(`admin/agreement/${data}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 协议管理-- 保存
|
||||
*/
|
||||
export function agreementSaveApi(save, data) {
|
||||
// return request.post(`admin/platform/agreement/${save}`, data);
|
||||
return request({
|
||||
url: `admin/agreement/${save}`,
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user