修改bug
parent
57d27469be
commit
199094ca09
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
ENV = 'development'
|
||||
|
||||
VUE_APP_BASE_API = 'https://jiqu.zichunsheng.cn/api'
|
||||
VUE_APP_BASE_API = 'https://jiqu-library.peidikeji.cn/api'
|
||||
|
|
|
|||
|
|
@ -309,7 +309,7 @@
|
|||
async uploads() {
|
||||
const resData = await this.$api.post('/v1/oss-sts');
|
||||
// const host = `https://${resData.bucket}.${resData.region_id}.aliyuncs.com/`
|
||||
const host = `https://${resData.domain}/`;
|
||||
const host = `https://${resData.bucket}.${resData.host}/`;
|
||||
const arr = []
|
||||
try {
|
||||
for (let i = 0; i < this.tempFilePaths.length; i++) {
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@
|
|||
onShareAppMessage(){
|
||||
let code = this.user.code ? this.user.code : '';
|
||||
let shareObj={
|
||||
title:'我正在使用积趣小程序,赶紧跟我一起来体验吧!',
|
||||
title:'我正在使用积趣自然图书馆,赶紧跟我一起来体验吧!',
|
||||
path:`/pages/index/index?invite_code=${code}`,
|
||||
imageUrl:''
|
||||
}
|
||||
|
|
@ -144,7 +144,7 @@
|
|||
scene: scene,
|
||||
type: 0,
|
||||
href: `https://wap.zichunsheng.cn/register?code=${this.user.code}`,
|
||||
title: '我正在使用子春生APP,赶紧跟我一起来体验吧!',
|
||||
title: '我正在使用积趣自然图书馆,赶紧跟我一起来体验吧!',
|
||||
// summary: "我正在使用子春生APP,赶紧跟我一起来体验吧!",
|
||||
imageUrl: '/static/images/share/logs.png',
|
||||
success: res => {}
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ export default {
|
|||
try {
|
||||
const resData = await this.$api.post('/v1/oss-sts');
|
||||
// const host = `https://${resData.bucket}.${resData.region_id}.aliyuncs.com/`;
|
||||
const host = `https://${resData.domain}/`;
|
||||
const host = `https://${resData.bucket}.${resData.host}/`;
|
||||
var upFile = new Promise((r) => {
|
||||
uploadImage(
|
||||
this.user.avatar,
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ import loadingView from '../../components/loading-view/loading-view.vue';
|
|||
async uploads() {
|
||||
const resData = await this.$api.post('/v1/oss-sts');
|
||||
// const host = `https://${resData.bucket}.${resData.region_id}.aliyuncs.com/`
|
||||
const host = `https://${resData.domain}/`;
|
||||
const host = `https://${resData.bucket}.${resData.host}/`;
|
||||
const arr = []
|
||||
try {
|
||||
for (let i = 0; i < this.tempFilePaths.length; i++) {
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@ export default {
|
|||
onShareAppMessage() {
|
||||
let code = this.user.code ? this.user.code : '';
|
||||
let shareObj = {
|
||||
title: '我正在使用子春生小程序,赶紧跟我一起来体验吧!',
|
||||
title: '我正在使用积趣自然图书馆,赶紧跟我一起来体验吧!',
|
||||
path: `/pages/index/index?invite_code=${code}`,
|
||||
};
|
||||
return shareObj;
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ export default {
|
|||
}, //商品名称
|
||||
{
|
||||
type: 'text',
|
||||
text: `¥${t.goods.market_price}`,
|
||||
text: `¥${t.goods.sell_price}`,
|
||||
size: '20',
|
||||
color: '#fa3534',
|
||||
fontWeight: 'bold',
|
||||
|
|
|
|||
|
|
@ -540,7 +540,7 @@ export default {
|
|||
type: 0,
|
||||
href: `https://wap.zichunsheng.cn/register?code=${code}`,
|
||||
title: this.detail.name,
|
||||
summary: '我正在使用子春生APP,赶紧跟我一起来体验吧!',
|
||||
summary: '我正在使用积趣自然图书馆,赶紧跟我一起来体验吧!',
|
||||
imageUrl: `${this.detail.cover}?x-oss-process=image/resize,w_80/quality,q_90`,
|
||||
success: (res) => {},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue