...
一、前端项目部署
项目名 | 环境 | 部署说明 | ||||
---|---|---|---|---|---|---|
千果h5 | 测试环境 | 构建计划--千果h5测试环境 | ||||
构建计划--千果h5_2测试环境 | ||||||
构建计划--千果h5_3测试环境 | ||||||
构建计划--千果h5_4测试环境 | ||||||
灰度环境 | 构建计划--千果h5灰度环境 | |||||
生产环境 | 构建计划--千果h5生产环境 | |||||
千果web | 测试环境 | 构建计划--qg_web测试环境 | ||||
构建计划--qg_web2测试环境 | ||||||
构建计划--qg_web3测试环境 | ||||||
构建计划--qg_web4测试环境 | ||||||
灰度环境 | 构建计划--qg_web灰度环境 | |||||
生产环境 | 构建计划--qg_web生产环境 | |||||
燃点web | 测试环境 | 构建计划--燃点web测试环境(旧coding) | ||||
生产环境 | 构建计划--燃点web生产环境(旧coding) | |||||
燃点h5 | 测试环境 | HbuildX--打包,手动放文件到测试桶(旧账号) | ||||
生产环境 | HbuildX--打包,手动放文件到生产桶(旧账号) | |||||
花丛间web | 测试环境 | 构建计划--花丛间web测试环境(旧coding) | ||||
生产环境 | 构建计划--花丛间web生产环境(旧coding) | |||||
花丛间h5 | 测试环境 | HbuildX--打包,手动放文件到测试桶(旧账号) | ||||
生产环境 | HbuildX--打包,手动放文件到生产桶(旧账号) | |||||
充电桩web | 生产环境 | 充电桩项目 | ||||
充电桩小程序 | 生产环境 | |||||
撞店h5 | 生产环境 | 构建计划--撞店h5生产环境 | ||||
撞店web | 生产环境 |
...
构建计划--撞店web生产环境 |
二、coding CI/CD创建流程
- 点击创建构建计划,并选择自定义构建过程
2. 输入构建计划名称,并选择代码仓库,其他默认即可
...
web参照:https://g-pnqe3494.coding.net/p/qg/ci/job/5167868/jenkins-config
三、协议维护
商城商品详情,用户评价、商城用户使用协议和商品退换货服务协议维护
代码块 |
---|
fetchComments() {
uni.request({
url: "https://v.qianguolive.cn/comment_new.json?timestamp=" + Date.now(), // 替换为你的 JSON 文件 URL
method: "GET",
success: (res) => {
console.log("%c Line:587 🥐 res", "color:#33a5ff", res);
console.log("%c Line:590 🍪 this.topShopId", "color:#42b983", this.topShopId);
if (res.statusCode === 200) {
const data = res.data
this.totalComments = data.totalComments;
this.phoneObj = data.phoneObj || {};
this.agreenmentObj = data.agreenmentObj || {}
if(data.topShopList && data.topShopList.includes(+this.topShopId)&& data.comments[this.goodsId]) {
this.isShowComment = true
this.comments = data.comments;
} else {
this.isShowComment = false;
}
} else {
console.error("请求失败:", res);
}
},
fail: (error) => {
console.error("请求错误:", error);
},
});
} |
通过 qg-video-1327837990 桶的comment_new.json文件来维护以上信息
商城用户使用协议 xy1_xxx.html 和 商品退换货服务协议 xy2_xxx.html 存放在 qg-1327837990 桶的agreenment目录,一般都是新增文件,不需要刷cdn
一般杨倩会把信息同步过来,操作完后上传到具体桶即可
四、