stanley-king před 8 roky
rodič
revize
e962b52681

+ 4 - 0
helper/fcode/mfcode.php

@@ -56,6 +56,10 @@ class mfcode
         }
     }
 
+    public function params() {
+        return $this->mParams;
+    }
+
     public function format()
     {
         $result = [];

+ 1 - 1
helper/fcode/operator.php

@@ -103,7 +103,7 @@ class operator
         }
     }
 
-    public function change(mfcode $fcode,$mobile)
+    public function change($fcode,$mobile)
     {
         return $this->bind($fcode,$mobile);
     }

+ 1 - 1
mobile/control/member_fcode.php

@@ -108,7 +108,7 @@ class member_fcodeControl extends mbMemberControl
             }
 
             $oper = new fcode\operator($fcode->commonid(),$fcode->batch_code());
-            $oper->change($fcode,session_helper::cur_mobile());
+            $oper->change($fcode->params(),session_helper::cur_mobile());
 
             return self::outsuccess(null);
         }