作者 何书鹏
1 个管道 的构建 通过 耗费 1 秒

合并分支 'heshupeng' 到 'master'

店铺留言



查看合并请求 !386
@@ -448,7 +448,7 @@ class Hot extends Api @@ -448,7 +448,7 @@ class Hot extends Api
448 ]; 448 ];
449 $store = $this->store_model->findOrFail($where_s,false,'id,store_name as nickname,store_icon as avatar'); 449 $store = $this->store_model->findOrFail($where_s,false,'id,store_name as nickname,store_icon as avatar');
450 $v['nickname'] = $store['nickname']; 450 $v['nickname'] = $store['nickname'];
451 - $v['avatar'] = cdnurl($store['avatar']); 451 + $v['avatar'] = !empty($store['avatar']) ? cdnurl($store['avatar']) : request()->domain().'/assets/img/avatar.png';
452 } 452 }
453 } 453 }
454 // $list = array_sort($list,'id',SORT_ASC); 454 // $list = array_sort($list,'id',SORT_ASC);
@@ -1397,7 +1397,7 @@ class Store extends Api @@ -1397,7 +1397,7 @@ class Store extends Api
1397 "remark" => ['点击查看详情','#FF0000'], 1397 "remark" => ['点击查看详情','#FF0000'],
1398 ); 1398 );
1399 $openid = Db::name('third')->where('user_id',$msg['user_id'])->value('openid'); 1399 $openid = Db::name('third')->where('user_id',$msg['user_id'])->value('openid');
1400 - $url = config('option.vue_url') . '/dianpuliuyan?is_template=1&id='.$msg['user_id']; 1400 + $url = config('option.vue_url') . '/dianpuliuyan?&id='.$msg['object_id'];
1401 (new \app\index\controller\Ajax)->wxsendmessage($openid,$send_data,config('option.template')['msg'],$url); 1401 (new \app\index\controller\Ajax)->wxsendmessage($openid,$send_data,config('option.template')['msg'],$url);
1402 Db::commit(); 1402 Db::commit();
1403 } catch (PDOException $e) { 1403 } catch (PDOException $e) {