作者 王智

1111

@@ -1022,12 +1022,19 @@ class Index extends Api @@ -1022,12 +1022,19 @@ class Index extends Api
1022 $ObBanner[$k]['Web'] = $v['web']; 1022 $ObBanner[$k]['Web'] = $v['web'];
1023 } 1023 }
1024 } 1024 }
  1025 + if (!empty($Array['user_id']) && $Array['user_id'] != null && $Array['user_id'] != '') {
  1026 + $Enmu = 1;
  1027 + } else {
  1028 + $Enmu = 2;
  1029 + }
1025 $List = [ 1030 $List = [
1026 'PortraitImage' => $this->ImgUrl($Array['portrait_image']), 1031 'PortraitImage' => $this->ImgUrl($Array['portrait_image']),
1027 'MoBanId' => $Array['moban_id'], 1032 'MoBanId' => $Array['moban_id'],
1028 'QrcodeImage' => $this->request->domain() . ($Array['qrcode_image']), 1033 'QrcodeImage' => $this->request->domain() . ($Array['qrcode_image']),
1029 'Title' => $Array['title'], 1034 'Title' => $Array['title'],
1030 'Content' => $Array['content'], 1035 'Content' => $Array['content'],
  1036 + 'On' => $Array['on'],
  1037 + 'Enmu' => $Enmu,
1031 'FamilyName' => $Array['family_name'], 1038 'FamilyName' => $Array['family_name'],
1032 'FamilyMobile' => $Array['family_mobile'], 1039 'FamilyMobile' => $Array['family_mobile'],
1033 'Createtime' => date('Y-m-d', $Array['createtime']), 1040 'Createtime' => date('Y-m-d', $Array['createtime']),
@@ -1043,6 +1050,7 @@ class Index extends Api @@ -1043,6 +1050,7 @@ class Index extends Api
1043 'thank_lng' => $Array['thank_lng'], 1050 'thank_lng' => $Array['thank_lng'],
1044 'thank_lat' => $Array['thank_lat'], 1051 'thank_lat' => $Array['thank_lat'],
1045 'thank_time' => $Array['thank_time'], 1052 'thank_time' => $Array['thank_time'],
  1053 + 'RoundType' => $Array['round_type'],
1046 'GiftArray' => $Gift, 1054 'GiftArray' => $Gift,
1047 'SellerArray' => $Seller, 1055 'SellerArray' => $Seller,
1048 'ObBanner' => $ObBanner 1056 'ObBanner' => $ObBanner