<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                #### 1.分銷員推廣鏈接 會員在店鋪中的消費金額滿足分銷員申請條件后發起申請,當店鋪審核通過后,會員才能成為分銷員有推廣鏈接。 ![](https://box.kancloud.cn/28079b8fc8f256984b0f27df0e9d6112_1234x595.png) ![](https://box.kancloud.cn/dbb22fafbeb6aa84e9f592ec02e019ea_1303x770.jpg) ![](https://box.kancloud.cn/f320ccf63182e60dfea965f8377e39b9_1268x653.jpg) 分銷推廣鏈接:index.php?ctl=Goods_Goods&met=goods&type=goods&gid=153&rec=u10081s2c106 rec:推廣分銷員的信息 #### 2.打開分銷推廣鏈接 文件地址:shop/controllers/Goods/GoodsCtl.php 方法:goods() ~~~ //判斷是否開啟分銷插件 if (Web_ConfigModel::value('Plugin_Directseller')) { $goods_detail['recImages'] = ''; //推薦者上傳的圖片 $PluginManager = Yf_Plugin_Manager::getInstance(); $data = $PluginManager->trigger('rec_goods'); $goods_detail['recImages'] = isset($data['Plugin_Directseller_recGoods']) ? $data['Plugin_Directseller_recGoods'] : ''; //--END } ~~~ #### 4.新用戶通過分銷推廣鏈接注冊 文件地址:shop/controllers/LoginCtl.php 方法:check() sass中規定只有新注冊的用戶才能發展為推廣員,所以此處sass與shop的check()方法中可能有一點區別。sass中已注冊會員發展推廣員的代碼注釋了。 ~~~ if (Web_ConfigModel::value('Plugin_Directseller')) { if ($_COOKIE['yf_recserialize']) { //regDone $PluginManager = Yf_Plugin_Manager::getInstance(); $PluginManager->trigger('regDone', $user_id); } } ~~~ #### 5.$PluginManager = Yf_Plugin_Manager::getInstance(); 文件地址:shop/controllers/Plugin/Directseller.php ~~~ public function recGoods() { $data = array(); $rec = request_string('rec'); if($rec) { $cond_row = array(); $cond_row['shop_directseller_goods_common_code'] = $rec; $Distribution_ShopDirectsellerGoodsCommonModel = new Distribution_ShopDirectsellerGoodsCommonModel(); $recImages = $Distribution_ShopDirectsellerGoodsCommonModel->getOne($cond_row); setcookie('yf_recserialize',$rec,time()+60*60*24*3); if(!empty($recImages['directseller_images_image'])) { $data = explode(',',$recImages['directseller_images_image']); } } return $data; } ~~~ ~~~ /** * 注冊完成后,判斷是否需要建立分傭關系 * * @return mixed */ public function regDone($user_id) { $rec = $_COOKIE['yf_recserialize']; $b= (strpos($rec,"u")); $e= (strpos($rec,"s")); $data['user_parent_id'] = substr($rec,$b+1,$e-1); /* $User_BaseModel = new User_BaseModel(); $User_BaseModel->editBase($userid,$data); */ $User_InfoModel = new User_InfoModel(); $User_InfoModel->editInfo($user_id,$data); return true; } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看