Commit 8db2aefb authored by wcmoon's avatar wcmoon

fix: 修改 api 请求地址;修改部署脚本;修改文件验真链接

parent 461da88c
NODE_ENV = 'production' NODE_ENV = 'production'
VUE_APP_CURRENTMODE = 'sy_prod' VUE_APP_CURRENTMODE = 'czt_prod'
VUE_APP_VERSION = '0' VUE_APP_VERSION = '0'
rm -rf czt rm -rf czt
mv dist czt mv dist czt
tar -czf czt.tar czt tar -czf czt.tar czt
scp czt.tar root@120.26.174.69:/usr/share/nginx/html/czt.tar scp czt.tar root@124.71.144.118:/root/wcy/html/czt.tar
rm -rf czt.tar rm -rf czt.tar
ssh root@120.26.174.69 'cd /usr/share/nginx/html && rm -rf czt && tar -xzf czt.tar && rm -rf czt.tar' ssh root@124.71.144.118 'cd /root/wcy/html && rm -rf czt && tar -xzf czt.tar && rm -rf czt.tar'
echo 'done. 👉 http://120.26.174.69/czt/' echo 'done. 👉 http://124.71.144.118:8889/czt'
...@@ -166,19 +166,19 @@ const configModules = { ...@@ -166,19 +166,19 @@ const configModules = {
} }
}, },
// 财政厅项目 // 财政厅项目
// todo 待修改接口链接
"czt_test": { "czt_test": {
CHAIN_BROWSER_URL_PREFIX: 'http://120.26.174.69:9032/', CHAIN_BROWSER_URL_PREFIX: 'http://120.26.174.69:8997/',
INERFACE_URL_PREFIX: 'http://172.16.101.87:46789', INERFACE_URL_PREFIX: 'http://124.71.144.118:46789',
INDEX: { INDEX: {
entry: './src/entry/czt/main.ts', entry: './src/entry/czt/main.ts',
template: './public/czt/index.html', template: './public/czt/index.html',
filename: 'index.html' filename: 'index.html'
} }
}, },
// todo 待修改接口链接
"czt_prod": { "czt_prod": {
CHAIN_BROWSER_URL_PREFIX: 'http://25.215.128.192:9010/', CHAIN_BROWSER_URL_PREFIX: 'http://120.26.174.69:8997/',
INERFACE_URL_PREFIX: 'http://25.215.128.28:46789', INERFACE_URL_PREFIX: 'http://124.71.144.118:46789',
INDEX: { INDEX: {
entry: './src/entry/czt/main.ts', entry: './src/entry/czt/main.ts',
template: './public/czt/index.html', template: './public/czt/index.html',
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<div class="menu-item_product-icon"> <div class="menu-item_product-icon">
<i class="iconfont">&#xe629;</i> <i class="iconfont">&#xe629;</i>
</div> </div>
<div class="menu-item-label">溯源</div> <div class="menu-item-label">文件验真</div>
<div class="menu-item-active_border"></div> <div class="menu-item-active_border"></div>
</div> </div>
</nav> </nav>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<script lang="ts"> <script lang="ts">
import { Component, Vue, Watch } from "vue-property-decorator"; import { Component, Vue, Watch } from "vue-property-decorator";
// 右侧存证部分 // 右侧存证部分
import newProductList from "@/components/category/ProductList.vue"; import newProductList from "./ProductList.vue";
//删除页 //删除页
import deleted from "@/views/category/deleted.vue"; import deleted from "@/views/category/deleted.vue";
// 引导页 // 引导页
......
This diff is collapsed.
...@@ -778,20 +778,7 @@ export default class editTemplate extends Vue { ...@@ -778,20 +778,7 @@ export default class editTemplate extends Vue {
} }
// 上链 // 上链
async UpperChain() { async UpperChain() {
const res = await this.$ajax({
type: "get",
url:
GO_URLS.user +
`/` +
JSON.parse(String(sessionStorage.getItem("user"))).id,
});
if (res) {
if (res.data.auth_suc === 1) {
this.isShowToChainDialog = true; this.isShowToChainDialog = true;
} else {
this.showUncertified = true;
}
}
} }
// 跳转个人中心 // 跳转个人中心
UncertifiedConfirm() { UncertifiedConfirm() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment