feat/task1-c-wallet
devil_gong 2019-06-28 18:34:05 +08:00
parent 98218e4890
commit 45f42201c8
4 changed files with 13 additions and 3 deletions

View File

@ -1791,8 +1791,12 @@ class UserService
);
// 获取用户信息
$where = ['mobile'=>$data['mobile'], 'is_delete_time'=>0];
$temp_user = Db::name('User')->where($where)->find();
$where = ['is_delete_time' => 0];
$accounts_where = [
['mobile', '=', $data['mobile']],
[$accounts_field, '=', $params[$accounts_field]],
];
$temp_user = Db::name('User')->where($where)->whereOr($accounts_where)->find();
// 额外信息
if(empty($temp_user['nickname']) && !empty($params['nickname']))

View File

@ -104,6 +104,9 @@ Page({
is_use_mobile_detail: data.is_use_mobile_detail || 0,
});
// 标题
my.setNavigationBar({title: data.goods.title});
// web内容转化
if((data.goods.content_web || null) != null)
{

View File

@ -61,7 +61,7 @@ App({
// 请求地址
// request_url: "{{request_url}}",
request_url: 'http://tp5-dev.com/',
//request_url: 'https://test.shopxo.net/',
request_url: 'https://test.shopxo.net/',
// 基础信息
application_title: "{{application_title}}",

View File

@ -104,6 +104,9 @@ Page({
is_use_mobile_detail: data.is_use_mobile_detail || 0,
});
// 标题
wx.setNavigationBarTitle({ title: data.goods.title });
// 不能选择规格处理
this.goods_specifications_choose_handle_dont(0);