1.6
parent
98218e4890
commit
45f42201c8
|
|
@ -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']))
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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}}",
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue