stanley-king 7 anni fa
parent
commit
1e232e4e1f
2 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. 1 1
      helper/activity/bundling.php
  2. 6 6
      mobile/control/member_bonus.php

+ 1 - 1
helper/activity/bundling.php

@@ -43,7 +43,7 @@ class bundling
     private function init()
     {
         $data = $this->read_cache();
-        $this->bundling_list = $data['list'];
+        $this->bundling_list  = $data['list'];
         $this->bundling_goods = $data['goods'];
         $this->goods_ids = $data['ids'];
     }

+ 6 - 6
mobile/control/member_bonus.php

@@ -230,7 +230,7 @@ class member_bonusControl extends mbMemberControl
         }
     }
 
-    private function share_info(\bonus\type $type,&$title,&$sub_title,&$img_url)
+    private function share_info(bonus\type $type,&$title,&$sub_title,&$img_url)
     {
         $share = bonus_helper::get_share($type->share_id());
         $title = $type->bless();
@@ -570,7 +570,7 @@ class member_bonusControl extends mbMemberControl
         $type_infos = [];
         foreach($items as $val)
         {
-            $type = \bonus\type::create_by_paramer($val);
+            $type = bonus\type::create_by_paramer($val);
 
             $item["type_sn"] = $type->getType_sn();
             $item["type_bless"] = $type->bless();
@@ -680,8 +680,8 @@ class member_bonusControl extends mbMemberControl
             $result = [];
             foreach ($items as $item)
             {
-                $bonus = \bonus\user_bonus::create_by_param($item);
-                $type = \bonus\type::create_by_sn($bonus->type_sn());
+                $bonus = bonus\user_bonus::create_by_param($item);
+                $type = bonus\type::create_by_sn($bonus->type_sn());
                 $user_id = $type->sender_id();
                 $member = new member_info($user_id);
                 $avatar = $member->avatar();
@@ -768,10 +768,10 @@ class member_bonusControl extends mbMemberControl
             $type_sn = '';
             foreach ($items as $item)
             {
-                $bonus = \bonus\user_bonus::create_by_param($item);
+                $bonus = bonus\user_bonus::create_by_param($item);
                 $rate = $bonus->bonus_rate();
                 if ($max_rate < $rate) {
-                    $type = \bonus\type::create_by_sn($bonus->type_sn());
+                    $type = bonus\type::create_by_sn($bonus->type_sn());
                     $user_id = $type->sender_id();
                     $member = new member_info($user_id);
                     $avatar = $member->avatar();