/**
  * wlcodeInfo 物流码绑定信息弹窗
  */
 public function wlcodeInfo()
 {
     $code = I('post.code');
     if (strlen($code) == 20) {
         $ecid = session($this->_userCfg['ECID']);
         $companyInfo = $this->getCompanyInfo($ecid);
         $options = array('ecid' => $ecid, 'api_user' => $companyInfo['mxt_api'], 'api_psw' => $companyInfo['mxt_psw'], 'OpenId' => '', 'fwCode' => $code, 'type' => 'web');
         $mxt = new MxtClient($options);
         $mxt->FwCheck($code);
         $code = $mxt->getWlcode();
     }
     $result = M("Company_" . session($this->_userCfg['ECID']) . "_wl_info")->where("wlCode = '" . $code . "'")->find();
     if ($result['productId'] != "") {
         $result['product'] = M("Company_product")->where("id = '" . $result['productId'] . "'")->getField('name');
     }
     if ($result['SellerId'] != "") {
         $result['seller'] = M("Company_dealers")->where("id = '" . $result['SellerId'] . "'")->getField('name');
     }
     //获取操作人名称
     $result['user'] = M("User_info")->where("id = '" . $result['modifyUserId'] . "'")->getField('user_name');
     $this->assign("wlcode", $code);
     $this->assign('info', $result);
     $this->display();
 }