1.9.0 startup
parent
07327a7a35
commit
7cfcd510cd
|
|
@ -28,6 +28,7 @@ return array(
|
||||||
'1.7.0' => array('value' => '1.7.0', 'name' => 'v1.7.0'),
|
'1.7.0' => array('value' => '1.7.0', 'name' => 'v1.7.0'),
|
||||||
'1.8.0' => array('value' => '1.8.0', 'name' => 'v1.8.0'),
|
'1.8.0' => array('value' => '1.8.0', 'name' => 'v1.8.0'),
|
||||||
'1.8.1' => array('value' => '1.8.1', 'name' => 'v1.8.1'),
|
'1.8.1' => array('value' => '1.8.1', 'name' => 'v1.8.1'),
|
||||||
|
'1.9.0' => array('value' => '1.9.0', 'name' => 'v1.9.0'),
|
||||||
),
|
),
|
||||||
|
|
||||||
// 用户注册类型列表
|
// 用户注册类型列表
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
if(version_compare(PHP_VERSION,'5.6.0','<')) die('PHP版本最低 5.6.0');
|
if(version_compare(PHP_VERSION,'5.6.0','<')) die('PHP版本最低 5.6.0');
|
||||||
|
|
||||||
// 系统版本
|
// 系统版本
|
||||||
define('APPLICATION_VERSION', 'v1.8.1');
|
define('APPLICATION_VERSION', 'v1.9.0');
|
||||||
|
|
||||||
// 定义系统目录分隔符
|
// 定义系统目录分隔符
|
||||||
define('DS', '/');
|
define('DS', '/');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template name="copyright">
|
<template name="copyright">
|
||||||
<view class="copyright">
|
<view class="copyright">
|
||||||
<view class="text">Powered by ShopXO v1.8.1</view>
|
<view class="text">Powered by ShopXO v1.9.0</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -194,11 +194,12 @@ Page({
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
var user = app.get_user_cache_info() || null;
|
var user = app.get_user_cache_info() || null;
|
||||||
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
|
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
|
||||||
|
var category_id = this.data.params['category_id'] || 0;
|
||||||
|
var keywords = this.data.params['keywords'] || '';
|
||||||
return {
|
return {
|
||||||
title: app.data.application_title,
|
title: app.data.application_title,
|
||||||
desc: app.data.application_describe,
|
desc: app.data.application_describe,
|
||||||
path: '/pages/goods-search/goods-search?referrer=' + user_id
|
path: '/pages/goods-search/goods-search?referrer=' + user_id+'&category_id='+category_id+'&keywords='+keywords
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template name="copyright">
|
<template name="copyright">
|
||||||
<view class="copyright">
|
<view class="copyright">
|
||||||
<view class="text">Powered by ShopXO v1.8.1</view>
|
<view class="text">Powered by ShopXO v1.9.0</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -205,10 +205,12 @@ Page({
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
var user = app.get_user_cache_info() || null;
|
var user = app.get_user_cache_info() || null;
|
||||||
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
|
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
|
||||||
|
var category_id = this.data.params['category_id'] || 0;
|
||||||
|
var keywords = this.data.params['keywords'] || '';
|
||||||
return {
|
return {
|
||||||
title: app.data.application_title,
|
title: app.data.application_title,
|
||||||
desc: app.data.application_describe,
|
desc: app.data.application_describe,
|
||||||
path: '/pages/goods-search/goods-search?referrer=' + user_id
|
path: '/pages/goods-search/goods-search?referrer=' + user_id+'&category_id='+category_id+'&keywords='+keywords
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template name="copyright">
|
<template name="copyright">
|
||||||
<view class="copyright">
|
<view class="copyright">
|
||||||
<view class="text">Powered by ShopXO v1.8.1</view>
|
<view class="text">Powered by ShopXO v1.9.0</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -195,11 +195,12 @@ Page({
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
var user = app.get_user_cache_info() || null;
|
var user = app.get_user_cache_info() || null;
|
||||||
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
|
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
|
||||||
|
var category_id = this.data.params['category_id'] || 0;
|
||||||
|
var keywords = this.data.params['keywords'] || '';
|
||||||
return {
|
return {
|
||||||
title: app.data.application_title,
|
title: app.data.application_title,
|
||||||
desc: app.data.application_describe,
|
desc: app.data.application_describe,
|
||||||
path: '/pages/goods-search/goods-search?referrer=' + user_id
|
path: '/pages/goods-search/goods-search?referrer=' + user_id+'&category_id='+category_id+'&keywords='+keywords
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template name="copyright">
|
<template name="copyright">
|
||||||
<view class="copyright">
|
<view class="copyright">
|
||||||
<view class="text">Powered by ShopXO v1.8.1</view>
|
<view class="text">Powered by ShopXO v1.9.0</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -195,11 +195,12 @@ Page({
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
var user = app.get_user_cache_info() || null;
|
var user = app.get_user_cache_info() || null;
|
||||||
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
|
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
|
||||||
|
var category_id = this.data.params['category_id'] || 0;
|
||||||
|
var keywords = this.data.params['keywords'] || '';
|
||||||
return {
|
return {
|
||||||
title: app.data.application_title,
|
title: app.data.application_title,
|
||||||
desc: app.data.application_describe,
|
desc: app.data.application_describe,
|
||||||
path: '/pages/goods-search/goods-search?referrer=' + user_id
|
path: '/pages/goods-search/goods-search?referrer=' + user_id+'&category_id='+category_id+'&keywords='+keywords
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template name="copyright">
|
<template name="copyright">
|
||||||
<view class="copyright">
|
<view class="copyright">
|
||||||
<view class="text">Powered by ShopXO v1.8.1</view>
|
<view class="text">Powered by ShopXO v1.9.0</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -195,10 +195,12 @@ Page({
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
var user = app.get_user_cache_info() || null;
|
var user = app.get_user_cache_info() || null;
|
||||||
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
|
var user_id = (user != null && (user.id || null) != null) ? user.id : 0;
|
||||||
|
var category_id = this.data.params['category_id'] || 0;
|
||||||
|
var keywords = this.data.params['keywords'] || '';
|
||||||
return {
|
return {
|
||||||
title: app.data.application_title,
|
title: app.data.application_title,
|
||||||
desc: app.data.application_describe,
|
desc: app.data.application_describe,
|
||||||
path: '/pages/goods-search/goods-search?referrer=' + user_id
|
path: '/pages/goods-search/goods-search?referrer=' + user_id+'&category_id='+category_id+'&keywords='+keywords
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue