Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php goto jzOJi; jzOJi: defined("\x49\x4e\137\111\101") or exit("\101\x63\143\145\163\1..
Decoded Output download
<?php
goto jzOJi; jzOJi: defined("IN_IA") or exit("Access Denied"); goto IaHKs; IaHKs: error_reporting(0); goto Luc57; Luc57: class Hawk_multiShopModuleWxapp extends WeModuleWxapp { public function __construct() { goto PmoGL; NTgku: $InitService = new InitService(); goto jYPa7; WMZ02: include IA_ROOT . "/addons/hawk_multishop/service/InitService.php"; goto mF6Xz; jYPa7: $InitService->run(); goto KvtqJ; mF6Xz: autoload(); goto NTgku; PmoGL: include IA_ROOT . "/addons/hawk_multishop/func/autoload.func.php"; goto WMZ02; KvtqJ: } public function doPageTest() { goto B5rh3; VAna_: $message = ""; goto dvrTA; PS1KO: $errno = 0; goto VAna_; B5rh3: global $_GPC, $_W; goto PS1KO; dvrTA: return $this->result($errno, $message, ""); goto UjIjU; UjIjU: } public function doPageSquare() { goto at3fU; ETbi1: $data["globalConfig"] = $globalConfig; goto rPyln; j_FhY: $data["menu"] = $menu; goto J6DZX; VxGvT: return $this->result(1, ""); goto XmTO_; J1lU0: $ProductService = new ProductService(); goto iPtyD; Mk5a8: $globalConfig = $this->module["config"]; goto ndv_i; QMorN: foreach ($advInfo as $k => $v) { goto Jv9n4; ZnrVA: $menuItem = $v; goto Lju1o; Jv9n4: $v["thumb"] = tomedia($v["thumb"]); goto Fl2Gp; WnPjb: $bannerItem = $v; goto UM7CZ; URhJ1: $imgUrlsItem = $v; goto Px_sS; nXgjH: OvHwT: goto jqPOm; Z1hzZ: if (!($v["type"] == 0)) { goto QqiPC; } goto URhJ1; jqPOm: if (!($v["type"] == 2)) { goto iN_qd; } goto WnPjb; YJTbV: W3iKN: goto LcpoQ; KNbjx: iN_qd: goto YJTbV; Lju1o: $menu[] = $menuItem; goto nXgjH; ft7x1: QqiPC: goto U4u6q; U4u6q: if (!($v["type"] == 1)) { goto OvHwT; } goto ZnrVA; Fl2Gp: $v["key"] = $v["link"]; goto Z1hzZ; UM7CZ: $banner[] = $bannerItem; goto KNbjx; Px_sS: $imgUrls[] = $imgUrlsItem; goto ft7x1; LcpoQ: } goto klU2e; U65Pa: $data["product"] = is_error($indexProductList) ? '' : $indexProductList; goto ksbZp; FeNT8: $data["banner"] = $banner; goto J1lU0; ufFkv: $globalConfig = $FormatService->formatGlobalConfig($globalConfig); goto ETbi1; g18nL: $data["flash"] = is_error($flashList) ? '' : $flashList; goto Mk5a8; i1tHR: $imgUrls = array(); goto ei2vF; Hv4PN: $advInfo = pdo_getall("hmultishop_adver", array("enabled" => 1, "uniacid" => $_W["uniacid"]), array(), '', "displayorder DESC"); goto ltaQQ; ksbZp: $flashList = $ProductService->flashListByPageSize(); goto g18nL; zsAuG: return $this->result(0, "", $data); goto FxBHs; ei2vF: $menu = array(); goto WlSdM; XmTO_: N0neY: goto i1tHR; klU2e: VwNnQ: goto j_FhY; rPyln: $data["moduleList"] = $globalConfig["moduleList"]; goto zsAuG; at3fU: global $_GPC, $_W; goto V0uoP; V0uoP: $data = array(); goto Hv4PN; WlSdM: $banner = array(); goto QMorN; ltaQQ: if ($advInfo) { goto N0neY; } goto VxGvT; ndv_i: $FormatService = new FormatService(); goto ufFkv; iPtyD: $indexProductList = $ProductService->IndexPositionProductList(); goto U65Pa; J6DZX: $data["imgUrls"] = $imgUrls; goto FeNT8; FxBHs: } public function doPageDetail() { goto hPxEq; QrmU_: $filters = array(); goto Oai6v; uPmYK: if (!$ds["pro_group_online"]) { goto bqNgs; } goto FWiTn; gW50D: boeHJ: goto zsb66; OyHch: O19dd: goto onL7w; FBirM: $groupArray = $Group->getAllByPage($filters, $pageIndex, $pageSize, $total, "group_createtime DESC"); goto n2Yym; WoNP0: $shareResult = share_handler($_W["openid"], $_GPC["u_from"], $ds["pro_code"], $ds["pro_share_coin"], 1); goto WVZxE; unVX4: j3EP4: goto yX2OS; kzssb: $newBuyer = array(); goto n4Pd0; yX2OS: $enable_coin = $this->module["config"]["enable_coin"]; goto uVkZt; WxYKZ: if (!is_array($newOrder)) { goto wm3m_; } goto KAkmO; ABYHn: g4PP4: goto kMSKh; lYBMp: $ds["poster_title"] = $poster_title; goto OZlED; VSdGa: foreach ($ds["pro_imgs"] as $k => &$v) { $v = tomedia($v); RQbFG: } goto OyHch; Xx83f: if (!$shopInfo) { goto h1xvx; } goto EsMt5; D11E2: return $this->result(1, ""); goto dVn8B; rdP1g: if (empty($ds["pro_thumb"])) { goto x4gw5; } goto xZSiu; flrph: $filters = array(); goto OCuU2; ZbpF7: $scene = $_GPC["scene"]; goto qX49O; w_RJf: return $this->result(0, "", $ds); goto kF4Ay; WCcvj: $total = 0; goto FBirM; kMSKh: $globalPhone = $this->module["config"]["servicePhone"]; goto taPxn; xZSiu: $ds["pro_thumb"] = tomedia($ds["pro_thumb"]); goto hnZ5m; f6dtS: if (empty($option)) { goto Z4izM; } goto waDIx; xqCuP: b4bm9: goto vTMWc; khcwI: $sceneInfo = $SM->getOneByFields($filters); goto ISRnt; yjdoL: $ds["hasCollection"] = true; goto m3_5Q; onL7w: a90EE: goto iNhbx; WVfjm: W0JoI: goto yNeuX; VbPq0: $filters["group_status"] = 0; goto SeIqc; oqqoh: $ds["enable_poster"] = 1; goto unVX4; yNeuX: wm3m_: goto QU0T4; zsb66: $starTime = strtotime($ds["pro_flash_begintime"]); goto Gmkfj; vTMWc: $OG = new OrderGood(); goto WL9dk; iIEiR: if (!($enable_poster && !empty($ds["pro_share_bgimg"]))) { goto j3EP4; } goto oqqoh; GzyZU: if (!$ds["pro_enable_option"]) { goto D5TbC; } goto ML3Gu; M0MdB: L7FVX: goto w_RJf; P0geZ: if (!($ds["pro_flash_online"] && !empty($ds["pro_flash_begintime"]) && !empty($ds["pro_flash_endtime"]) && $ds["pro_flash_endtime"] > $currentTime && $ds["pro_flash_begintime"] < $currentTime)) { goto boeHJ; } goto F0sIf; XGoiD: $ds["shopInfo"] = $shopInfo; goto vMXmB; ISRnt: if (!$sceneInfo) { goto mq2Sd; } goto KxzIu; WVZxE: $ds["shareResult"] = $shareResult; goto n4C67; DhAER: $total = 0; goto kzssb; pJmq0: kl38J: goto GzyZU; EwvO7: $ds["group_total"] = $total; goto tlyMb; P0ZjB: unset($v); goto VYDPQ; BOqfW: $ds["pro_imgs"] = unserialize($ds["pro_imgs"]); goto L0RrF; YAZYw: $filters["u_openid"] = $_W["openid"]; goto B4DDT; Ww7r1: if (empty($ds["pro_imgs"])) { goto Mxp01; } goto BOqfW; YoiNP: glpJu: goto nO_Lx; OCuU2: $filters["pro_code"] = $code; goto reGCt; PxZvN: mq2Sd: goto qSGid; taPxn: if (!empty($ds["pro_servicephone"])) { goto eNnYV; } goto XU_uR; mBJy7: $filters["pro_code"] = $code; goto VbPq0; EsMt5: $shopInfo["shop_thumb"] = tomedia($shopInfo["shop_thumb"]); goto XGoiD; fre3L: $pageSize = 2; goto DhAER; L0RrF: if (!is_array($ds["pro_imgs"])) { goto a90EE; } goto VSdGa; waDIx: $ds["option"] = $option; goto WhT_y; dVn8B: NXDH3: goto Ww7r1; SeIqc: $filters["groupfilters"] = array("type" => "and", "filters" => array("group_expiretime" => array("value" => date("Y-m-d H:i:s"), "glue" => ">"))); goto jrVT5; HlYej: bqNgs: goto Y_HrP; qSGid: kQriw: goto lxYEd; f4wIj: global $_GPC, $_W; goto Fm3lD; uEIoZ: if (!$hasCollection) { goto oxGrg; } goto yjdoL; JwgvX: eNnYV: goto fC2oM; Y_HrP: $Collection = new Collection(); goto QrmU_; WhT_y: Z4izM: goto GKSi3; QU0T4: $ds["newBuyer"] = $newBuyer; goto zUTI3; GKSi3: D5TbC: goto Mnmux; PSaGK: $shopInfo = $Shop->getOne($ds["shop_id"]); goto Xx83f; yzKzL: $filters = array(); goto mBJy7; KAkmO: foreach ($newOrder as $k => $v) { goto fQxdC; fQxdC: $memberInfo = $M->getOneByOpenid($v["u_openid"]); goto E9R2M; RC7Gm: $newBuyer[] = $memberInfo; goto RTpJN; RTpJN: SoWRb: goto n0YSk; n0YSk: uAPDl: goto a9ZiU; E9R2M: if (!$memberInfo) { goto SoWRb; } goto RC7Gm; a9ZiU: } goto WVfjm; m3_5Q: oxGrg: goto ubAac; lxYEd: if (!empty($code)) { goto glpJu; } goto Fw0ig; ML3Gu: $option = option_detail($ds["pro_id"]); goto f6dtS; aF4Wg: $ds["lefttime"] = $leftTime; goto gW50D; WL9dk: $M = new Member(); goto flrph; ubAac: $Shop = new Shop(); goto iWxYe; t4fZN: $filters["sm_key"] = $scene; goto khcwI; YWyVZ: $SM = new SceneMap(); goto bjaT4; hnZ5m: x4gw5: goto s8lGI; wY8ON: $enable_poster = $this->module["config"]["enable_poster"]; goto iIEiR; yBwzL: if ($ds) { goto NXDH3; } goto D11E2; bjaT4: $filters = array(); goto t4fZN; VYDPQ: $ds["group"] = $groupArray; goto EwvO7; s8lGI: if (empty($ds["pro_des"])) { goto g4PP4; } goto zqe5b; zqe5b: $ds["pro_des"] = htmlspecialchars_decode($ds["pro_des"]); goto ABYHn; n2Yym: if (!$groupArray) { goto cvSPj; } goto a2520; Gmkfj: $endTime = strtotime($ds["pro_flash_endtime"]); goto i8tad; nO_Lx: $ds = pdo_get("hmultishop_product", array("pro_code" => $code)); goto yBwzL; ccwcU: Mxp01: goto rdP1g; tlyMb: cvSPj: goto HlYej; Fm3lD: $code = $_GPC["code"]; goto ZbpF7; F0sIf: $leftTime = strtotime($ds["pro_flash_endtime"]) - time(); goto aF4Wg; XU_uR: $ds["pro_servicephone"] = $globalPhone; goto JwgvX; n4C67: $ds["enable_coin"] = 1; goto pJmq0; YYPIg: $_GPC["u_from"] = $sceneInfo["u_openid"]; goto PxZvN; hPxEq: autoload()->func("share"); goto v5lC1; i8tad: $timeCurrent = time(); goto PSiOQ; iWxYe: if (empty($ds["shop_id"])) { goto L7FVX; } goto PSaGK; iNhbx: unset($v); goto ccwcU; a2520: foreach ($groupArray as &$v) { goto wAF4t; wAF4t: $memberInfo = $M->getOneByOpenid($v["group_master"]); goto hFNQC; V7d_z: $v["remainTime"] = strtotime($v["group_expiretime"]) - time(); goto Zmhxb; vasUk: if (!($v["group_expiretime"] > date("Y-m-d H:i:s"))) { goto Jrv1a; } goto V7d_z; wUkR4: $v["memberInfo"] = $memberInfo; goto iTeZj; TqLYm: MrKga: goto hjbIl; Zmhxb: Jrv1a: goto TqLYm; iTeZj: nCzNZ: goto vasUk; hFNQC: if (!$memberInfo) { goto nCzNZ; } goto wUkR4; hjbIl: } goto EoRfy; reGCt: $pageIndex = 1; goto fre3L; n4Pd0: $newOrder = $OG->getAllByPage($filters, $pageIndex, $pageSize, $total, "gl_createtime DESC"); goto WxYKZ; vMXmB: h1xvx: goto M0MdB; jrVT5: $pageIndex = 1; goto BKiFe; Mnmux: $poster_title = $this->module["config"]["diy_detail_poster_name"]; goto QGd9m; zUTI3: $M = new Member(); goto uPmYK; EoRfy: YJrqJ: goto P0ZjB; KxzIu: $code = $sceneInfo["sm_code"]; goto YYPIg; Lyjj5: $ds["u_openid"] = $_W["openid"]; goto wY8ON; OZlED: $currentTime = date("Y-m-d H:i:s", time()); goto P0geZ; v5lC1: autoload()->func("qr"); goto v3tWt; FWiTn: $Group = new Group(); goto yzKzL; fC2oM: $ds["pro_share_thumb"] = tomedia($ds["pro_share_thumb"]); goto Lyjj5; l5Tlo: $filters["cl_type"] = 1; goto YAZYw; F50hj: $ds["pro_flash_online"] = 0; goto xqCuP; Oai6v: $filters["ac_id"] = $ds["pro_id"]; goto l5Tlo; PSiOQ: if (!($timeCurrent < $starTime || $endTime < $timeCurrent)) { goto b4bm9; } goto F50hj; v3tWt: autoload()->func("option"); goto f4wIj; uVkZt: if (!($enable_coin && $ds["enable_poster"] != 1)) { goto kl38J; } goto WoNP0; BKiFe: $pageSize = 50; goto WCcvj; Fw0ig: return $this->result(1, ""); goto YoiNP; B4DDT: $hasCollection = $Collection->getOneByFields($filters); goto uEIoZ; qX49O: if (!(!empty($scene) && $scene != "undefined")) { goto kQriw; } goto YWyVZ; QGd9m: $poster_title = !empty($poster_title) ? $poster_title : ""; goto lYBMp; kF4Ay: } public function doPageUploadOrder() { goto vb1Oy; f6g5K: if (is_array($productArray)) { goto fGOkm; } goto DEYWa; eVX3L: zhkUM: goto qwxCD; KGeUy: arDSA: goto xemS_; ZAWpV: return $this->result(1, $data["message"]); goto tI3sR; bvGKO: goto arDSA; goto C_9uB; IPGQ2: $memberInfo = $M->getOneByOpenid($_W["openid"]); goto NSpXQ; wYF3F: return $this->result(1, "", $productArray); goto DfYhM; Dkwaa: return $this->result(1, ""); goto EvWW0; qwxCD: fGOkm: goto unwDp; aemXi: $config_expireTime = $this->module["config"]["expireTime"]; goto mxko0; p0Qkp: Ra0tv: goto L2gsW; vb1Oy: global $_GPC, $_W; goto vKJ_Q; D6SCo: $touristInfo = array(); goto cy_g3; eCsFr: zlPAL: goto Wt_m9; rOJJP: $receiver = $_GPC["receiver"]; goto tOFuF; fzUIt: if (!empty($_GPC["touristList"])) { goto JNsaO; } goto D6SCo; DEYWa: $productArray = array_filter(explode(";", $product)); goto F7_kb; FEgP7: NIDVy: goto JDBQI; tI3sR: OlXWN: goto Thi86; f7MGU: $touristInfo = json_decode(htmlspecialchars_decode($_GPC["touristList"]), true); goto KGeUy; xemS_: if (!(empty($product) || empty($_W["openid"]))) { goto F2re6; } goto Dkwaa; Wt_m9: $touristInfo = array(); goto uDO0g; VYFxk: $product = $_GPC["product"]; goto rOJJP; F7_kb: if (!is_array($productArray)) { goto zhkUM; } goto Uro_g; C_9uB: JNsaO: goto f7MGU; XzdNR: $touristInfo[0]["od_tourist_mobile"] = $_GPC["tourist_mobile"]; goto uBYOE; vKJ_Q: $_W["globalConfig"] = $this->module["config"]; goto s8C8Z; cy_g3: goto arDSA; goto eCsFr; uDO0g: $touristInfo[0]["od_tourist_name"] = $_GPC["tourist_name"]; goto RPGoY; s8C8Z: autoload()->func("template"); goto VYFxk; Thi86: $formId = $_GPC["formId"]; goto QShpo; Reqb4: $productArray = json_decode(htmlspecialchars_decode($product), true); goto f6g5K; mxko0: $data = $OrderService->uploadOrder($_W["openid"], $productArray, $receiver, $config_expireTime, $touristInfo); goto Lzb8v; tOFuF: if (!empty($_GPC["tourist_name"])) { goto zlPAL; } goto fzUIt; uBYOE: $touristInfo[0]["od_tourist_card"] = $_GPC["tourist_card"]; goto bvGKO; goZvL: $M = new Member(); goto IPGQ2; EvWW0: F2re6: goto Reqb4; Uro_g: foreach ($productArray as $k => &$v) { goto WBgoJ; ls4tV: $new["date"] = str_replace("date=", '', $item[6]); goto R0EAg; H_RcZ: $new["priceType"] = str_replace("pricetype=", '', $item[3]); goto nkakk; xkzJv: $new["groupJoin"] = str_replace("groupjoin=", '', $item[5]); goto ls4tV; Q3VCi: $new["total"] = str_replace("total=", '', $item[1]); goto T8kvm; nkakk: $new["groupAdd"] = str_replace("groupadd=", '', $item[4]); goto xkzJv; T8kvm: $new["optionId"] = str_replace("option=", '', $item[2]); goto H_RcZ; AH4jf: $new["code"] = str_replace("code=", '', $item[0]); goto Q3VCi; R0EAg: $v = $new; goto w5Jmw; WBgoJ: $item = explode("#", $v); goto AH4jf; w5Jmw: rCQQu: goto paq9K; paq9K: } goto FEgP7; Bkh3Y: ptE9t: goto jlSEk; JDBQI: unset($v); goto eVX3L; RPGoY: $touristInfo[0]["od_tourist_type"] = $_GPC["tourist_type"]; goto XzdNR; oqNSd: cache_write_formId($_W["openid"], $formId); goto Bkh3Y; NSpXQ: if ($memberInfo) { goto Ra0tv; } goto kqKZC; kqKZC: return $this->result(1, ""); goto p0Qkp; jlSEk: return $this->result(0, "", $data); goto Aw5F5; Lzb8v: if (!is_error($data)) { goto OlXWN; } goto ZAWpV; DfYhM: KSUaN: goto goZvL; QShpo: if (empty($formId)) { goto ptE9t; } goto oqNSd; unwDp: if (!(!is_array($productArray) || count($productArray) < 1)) { goto KSUaN; } goto wYF3F; L2gsW: $OrderService = new OrderService(); goto aemXi; Aw5F5: } public function doPagePaySuccess() { goto rFsw2; Pe9VD: return $this->result(1, ""); goto KjZEj; IIJC9: $update["od_status"] = 1; goto Is_t4; C04qg: $code = $_GPC["code"]; goto sz0oY; tu3dD: $update = array(); goto IIJC9; QjsvQ: return $this->result(1, ""); goto TJrQr; rP3Hy: $O = new Order(); goto tu3dD; KjZEj: wA3rs: goto rP3Hy; mKI4B: if ($updateResult) { goto Bs6AX; } goto QjsvQ; TJrQr: Bs6AX: goto l7NQ8; l7NQ8: return $this->result(0, "", $code); goto qYRDq; Is_t4: $updateResult = $O->modify($code, $update); goto mKI4B; rFsw2: global $_GPC, $_W; goto C04qg; sz0oY: if (!empty($_GPC["code"])) { goto wA3rs; } goto Pe9VD; qYRDq: } public function doPageStrategy() { goto YIoMi; IJFJ8: $psize = 20; goto ODevq; zjVyG: if ($ds) { goto X3eUg; } goto Gxpyu; B97Bm: return $this->result(0, "", $data); goto gQUvI; y4dpM: if (empty($key)) { goto Oq71_; } goto VNCOp; cB8Ji: Oq71_: goto zqmJf; Gxpyu: return $this->result(1, ""); goto Hb2A1; voNcg: $data["tag"] = $tag; goto fA_Rj; Hb2A1: X3eUg: goto NCMie; i0Fu3: $A = new Article(); goto o3JYB; PPFgE: CgOHo: goto EqeUV; NCMie: foreach ($ds as $k => &$v) { goto AHLD_; jpY5Z: ZGylD: goto KI8aB; huHrV: $v["ac_createtime"] = date("Y-m-d", strtotime($v["ac_createtime"])); goto s2AtH; OM1rV: if (empty($v["ac_content"])) { goto u1uyL; } goto xcWEG; xcWEG: $v["ac_content"] = htmlspecialchars_decode($v["ac_content"]); goto dtY5B; mTqbF: $v["ac_thumb"] = tomedia($v["ac_thumb"]); goto TDAs_; AHLD_: if (empty($v["ac_audio"])) { goto vuTBG; } goto nmoWD; D88mt: vuTBG: goto b4_BV; nmoWD: $v["ac_audio"] = tomedia($v["ac_audio"]); goto D88mt; s2AtH: $v["type"] = 0; goto jpY5Z; b4_BV: if (empty($v["ac_thumb"])) { goto kSMLn; } goto mTqbF; dtY5B: u1uyL: goto huHrV; TDAs_: kSMLn: goto OM1rV; KI8aB: } goto rcR7b; R8M6k: $pindex = max($pindex, 1); goto IJFJ8; rcR7b: uWMyx: goto fv4CT; VNCOp: $filters["ac_keyword"] = $key; goto cB8Ji; o3JYB: $filters = array(); goto nSltt; MACbx: $tag = array_filter(explode("#", $tag)); goto voNcg; BpfA9: $key = $_GPC["key"]; goto Gxcmj; YIoMi: global $_GPC, $_W; goto PU43Q; nSltt: $filters["ac_status"] = 0; goto y4dpM; Zu0Ie: $key = $data["tag"][0]; goto PPFgE; fv4CT: $data["article"] = $ds; goto B97Bm; zqmJf: $ds = $A->getAllByPage($filters, $pindex, $psize, $total, "ac_weight DESC,ac_id DESC "); goto zjVyG; fA_Rj: TgPS7: goto BpfA9; Gxcmj: if (!(empty($key) && $data["tag"])) { goto CgOHo; } goto Zu0Ie; EqeUV: $pindex = intval($_GPC["page"]); goto R8M6k; LqKAh: if (empty($tag)) { goto TgPS7; } goto MACbx; ODevq: $total = 0; goto i0Fu3; eAba0: $tag = $this->module["config"]["strategyKeywords"]; goto LqKAh; PU43Q: $data = array(); goto eAba0; gQUvI: } public function doPageArticle() { goto CUP4v; QlQg0: $id = $_GPC["id"]; goto g7sqh; g7sqh: if (!empty($id)) { goto yiu_G; } goto qUA4I; CAsox: nL3D0: goto dcEcW; gf8EC: share_handler($_W["openid"], $_GPC["u_from"], $ds["ac_id"], $ds["ac_share_coin"]); goto S9jSq; Pvp5l: $enable_coin = $this->module["config"]["enable_coin"]; goto LwyGs; UtCZO: QS4vP: goto cTwS5; dcEcW: $ds["vipShow"] = $vipShow; goto NHB__; AVx_N: $ds["ac_view"] = $ds["ac_view"] + 1; goto RXqgG; YVUf_: if ($ds) { goto nLmEt; } goto ixNC2; h7zlZ: $isVip = $MemberService->isVip($_W["openid"]); goto NKl6x; Uu8gv: yiu_G: goto gpQsF; w_zte: $ds["ac_audio"] = tomedia($ds["ac_audio"]); goto X8HxF; NHB__: return $this->result(0, "", $ds); goto QBon9; aXWfe: $A = new Article(); goto YcNxG; fdlqC: $update["ac_view"] = $ac_view; goto pr9qR; w0d_D: $ac_view = $ds["ac_view"] + 1; goto YUowp; JIIhS: $ds["u_openid"] = $_W["openid"]; goto Pvp5l; i2qWl: $vipShow = 0; goto rlr35; QWem6: $MemberService = new MemberService(); goto h7zlZ; UB8rJ: if (!($ds["ac_require_vip"] == 1)) { goto nL3D0; } goto QWem6; gpQsF: autoload()->func("share"); goto aXWfe; YcNxG: $ds = $A->getOne($id); goto YVUf_; YUowp: $update = array(); goto fdlqC; pr9qR: $A->modify($id, $update); goto AVx_N; S9jSq: $ds["enable_coin"] = 1; goto UtCZO; ixNC2: return $this->result(1, ""); goto htT9n; qUA4I: return $this->result(1, ""); goto Uu8gv; htT9n: nLmEt: goto w0d_D; X8HxF: $ds["ac_createtime"] = date("Y-m-d", strtotime($ds["ac_createtime"])); goto sxm7T; RXqgG: $ds["ac_thumb"] = tomedia($ds["ac_thumb"]); goto w_zte; CUP4v: global $_GPC, $_W; goto QlQg0; MrKqI: $ds["ac_share_thumb"] = tomedia($ds["ac_share_thumb"]); goto JIIhS; NKl6x: if (!is_error($isVip)) { goto yVfCx; } goto i2qWl; rlr35: yVfCx: goto CAsox; LwyGs: if (!($enable_coin && $ds["ac_share_coin"] > 0)) { goto QS4vP; } goto gf8EC; cTwS5: $vipShow = 1; goto UB8rJ; sxm7T: $ds["ac_content"] = htmlspecialchars_decode($ds["ac_content"]); goto MrKqI; QBon9: } public function doPageStrategySearch() { goto xlY7T; sXuPZ: $pindex = max($pindex, 1); goto OncMi; JDvor: foreach ($ds as $k => &$v) { goto ZEZhx; Hxnzl: $v["thumb"] = $v["ac_thumb"]; goto u1aRu; yc9O0: $v["time"] = date("Y-m-d", strtotime($v["ac_createtime"])); goto rAPL8; tBypo: $v["ac_audio"] = tomedia($v["ac_audio"]); goto vs6X0; bfFRR: a1C7x: goto QXnrL; rAPL8: $v["type"] = 0; goto bfFRR; pmku2: cid5f: goto kNnHZ; vs6X0: KWXnr: goto DEQDM; Pxc9o: $v["title"] = mb_substr($v["ac_title"], 0, 15); goto Hxnzl; RDkAW: wX7Ya: goto bLm8D; nozeD: $v["ac_thumb"] = tomedia($v["ac_thumb"]); goto RDkAW; C_pOO: $v["ac_content"] = htmlspecialchars_decode($v["ac_content"]); goto pmku2; DEQDM: if (empty($v["ac_thumb"])) { goto wX7Ya; } goto nozeD; kNnHZ: $v["id"] = $v["ac_id"]; goto Pxc9o; bLm8D: if (empty($v["ac_content"])) { goto cid5f; } goto C_pOO; u1aRu: $v["des"] = $v["ac_des"]; goto yc9O0; ZEZhx: if (empty($v["ac_audio"])) { goto KWXnr; } goto tBypo; QXnrL: } goto smtXM; VEmTa: hhCS0: goto a6B4c; FPL9r: $filters["ac_keyword"] = $key; goto VEmTa; pvZWu: $total = 0; goto fw4gL; zfgV5: return $this->result(0, "", $ds); goto UM00V; P19jQ: if ($ds) { goto Pu73R; } goto rtbGD; Vn1Ar: $filters["ac_status"] = 0; goto j5GpO; OncMi: $psize = 20; goto pvZWu; smtXM: AjfNQ: goto zfgV5; j5GpO: if (empty($key)) { goto hhCS0; } goto FPL9r; MaqsW: $pindex = intval($_GPC["page"]); goto sXuPZ; a6B4c: $ds = $A->getAllByPage($filters, $pindex, $psize, $total, "ac_weight DESC,ac_id DESC "); goto P19jQ; rtbGD: return $this->result(1, ""); goto FS33h; fw4gL: $A = new Article(); goto DCkX6; xlY7T: global $_GPC, $_W; goto G3GQz; G3GQz: $key = $_GPC["key"]; goto MaqsW; FS33h: Pu73R: goto JDvor; DCkX6: $filters = array(); goto Vn1Ar; UM00V: } public function doPageProductSearch() { goto E1Oj9; rtY0j: foreach ($ds as $k => &$v) { goto Ryj1c; SUuty: $option = option_detail($v["pro_id"]); goto kVVEA; BhHQX: if (!$v["pro_enable_option"]) { goto RlSuu; } goto SUuty; HfTZO: $v["option"] = $option; goto fU_1c; kVVEA: if (empty($option)) { goto hYvj1; } goto HfTZO; k33pb: RlSuu: goto DBMjN; fU_1c: hYvj1: goto k33pb; DBMjN: lmqtl: goto tMbuu; Ryj1c: $v["pro_thumb"] = tomedia($v["pro_thumb"]); goto BhHQX; tMbuu: } goto bCJBK; MWvSQ: $P = new Product(); goto WldvH; R8yGx: k7auV: goto Q0YWo; ptW4z: return $this->result(1, ""); goto rmnvb; j8JZs: $filters["pro_status"] = 0; goto UwEGA; ERLs6: lj7gQ: goto ocnuz; ALjy0: $ds = $P->getAllByPage($filters, $page, $pageSize, $total, $orderSql . "pro_weight DESC"); goto Nyk4u; rmnvb: X3Bo5: goto rtY0j; UwEGA: if (empty($key)) { goto k7auV; } goto zNC27; bCJBK: jwVSF: goto OEQHu; okT4f: $orderBy = $_GPC["orderby"]; goto qqVEo; ocnuz: qr_8B: goto MWvSQ; wx5N9: $key = $_GPC["key"]; goto NF7_b; Nyk4u: if ($ds) { goto X3Bo5; } goto ptW4z; WldvH: $page = intval($_GPC["page"]); goto phHKE; Q0YWo: if (empty($_GPC["shop_id"])) { goto ZuMUR; } goto Y4kNq; zNC27: $filters["pro_keyword"] = $key; goto R8yGx; E1Oj9: autoload()->func("option"); goto AFHLC; AFHLC: global $_W, $_GPC; goto okT4f; Y4kNq: $filters["shop_id"] = $_GPC["shop_id"]; goto dro7U; phHKE: $page = max($page, 1); goto QL_hO; OEQHu: unset($v); goto BwK3I; qqVEo: $orderSql = ''; goto wx5N9; QL_hO: $pageSize = 20; goto IVzkA; BwK3I: return $this->result(0, "", $ds); goto tSrct; IVzkA: $total = 0; goto egQr7; egQr7: $filters = array(); goto j8JZs; NF7_b: switch ($orderBy) { case 1: goto qr_8B; case 2: $orderSql = " pro_sales DESC,"; goto qr_8B; case 3: $orderSql = " pro_realprice ASC,"; goto qr_8B; case 4: $orderSql = " pro_realprice DESC,"; goto qr_8B; } goto ERLs6; dro7U: ZuMUR: goto ALjy0; tSrct: } public function doPageGlobalConfig() { goto kXchU; C9TsP: $FormatService = new FormatService(); goto uJRSQ; kXchU: global $_W, $_GPC; goto RoS5s; RoS5s: $globalConfig = $this->module["config"]; goto C9TsP; EttVt: return $this->result(0, "", $globalConfig); goto wVg8h; uJRSQ: $globalConfig = $FormatService->formatGlobalConfig($globalConfig); goto EttVt; wVg8h: } public function doPageAddCollection() { goto dnaGC; Ffhsi: $insert = array(); goto wZSCp; HD1Mn: return $this->result(1, ""); goto JuGJz; vuu3j: if (empty($type)) { goto eAU8r; } goto A8nBV; Iw3cb: if (!$ds) { goto H0mjT; } goto PXnza; c15j7: $type = $_GPC["type"]; goto i0Cvd; zaZet: $filters["cl_type"] = 0; goto fSpzi; wZSCp: $insert["ac_id"] = $id; goto vuu3j; JuGJz: G8XFh: goto Pr0mi; Vlx35: $filters["cl_type"] = $type; goto d0jUA; OJmwa: H0mjT: goto Ffhsi; zRedb: $insertResult = $C->create($insert); goto F0yPt; xH9gQ: return $this->result(0, ""); goto cwWSd; arwrJ: z2TlW: goto zaZet; FLsZQ: x6ViK: goto xH9gQ; urEpM: $insert["u_openid"] = $_W["openid"]; goto zRedb; F0yPt: if ($insertResult) { goto x6ViK; } goto dEsh0; dnaGC: global $_W, $_GPC; goto ZvzNv; fSpzi: MGgtb: goto CLBcZ; A8nBV: $insert["cl_type"] = $type; goto EbPhh; K_wFp: $filters["ac_id"] = $id; goto ICK0e; ZvzNv: $C = new Collection(); goto EhNsJ; ICK0e: if (empty($type)) { goto z2TlW; } goto Vlx35; EbPhh: eAU8r: goto urEpM; i0Cvd: if (!empty($id)) { goto G8XFh; } goto HD1Mn; d0jUA: goto MGgtb; goto arwrJ; dEsh0: return $this->result(1, ""); goto FLsZQ; CLBcZ: $filters["u_openid"] = $_W["openid"]; goto TCIyv; PXnza: return $this->result(1, ""); goto OJmwa; TCIyv: $ds = $C->getOneByFields($filters); goto Iw3cb; Pr0mi: $filters = array(); goto K_wFp; EhNsJ: $id = $_GPC["id"]; goto c15j7; cwWSd: } public function doPageCancelCollection() { goto zNhSD; YNafg: c4ce8: goto nEn_1; UoOiF: return $this->result(0, ""); goto HQw88; Oi4YT: PKSUf: goto UoOiF; z9UQl: if ($deleteResult) { goto PKSUf; } goto JrOgp; xJx2d: $filters["ac_id"] = $id; goto dbuM3; nEn_1: $deleteResult = $C->delete($ds["cl_id"]); goto z9UQl; YS2UT: $filters = array(); goto xJx2d; zNhSD: global $_W, $_GPC; goto L20qs; e3L65: return $this->result(1, ""); goto YNafg; nYkZ3: if (!(empty($id) || empty($_W["openid"]))) { goto fP1_l; } goto UfWjT; KlOIW: $id = $_GPC["id"]; goto nYkZ3; JrOgp: return $this->result(1, ""); goto Oi4YT; dbuM3: $filters["u_openid"] = $_W["openid"]; goto VAsqo; dnHsM: if ($ds) { goto c4ce8; } goto e3L65; UfWjT: return $this->result(1, ""); goto Va14k; VAsqo: $ds = $C->getOneByFields($filters); goto dnHsM; L20qs: $C = new Collection(); goto KlOIW; Va14k: fP1_l: goto YS2UT; HQw88: } public function doPageGetAllCollection() { goto RzLYb; csBec: $data = array(); goto o7T6u; hXxUW: $A = new Article(); goto Qrvaw; H9zfe: if (!empty($_W["openid"])) { goto ScvRy; } goto fZLYS; Qrvaw: $P = new Product(); goto XHKf7; p1rnf: $total = 0; goto UNZB2; RzLYb: global $_W, $_GPC; goto LdSSK; GZvgU: ScvRy: goto RjfFe; X45vS: $page = max($page, 1); goto CuuX7; DqkJp: AzEA0: goto csBec; Gxkjj: $ds = $C->getAllByPage($filters, $page, $pageSize, $total, "cl_createtime DESC"); goto CFvvg; fZLYS: return $this->result(1, ""); goto GZvgU; RjfFe: $page = intval($_GPC["page"]); goto X45vS; XHKf7: $S = new Shop(); goto H9zfe; LdSSK: $C = new Collection(); goto hXxUW; zQSLp: return $this->result(1, ""); goto DqkJp; QoA_5: AeYkF: goto TMVy0; CFvvg: if ($ds) { goto AzEA0; } goto zQSLp; o7T6u: foreach ($ds as $k => $v) { goto ubwBa; SS1RG: if (!$shopInfo) { goto Ta728; } goto QTYv_; LYTBY: $articleInfo = $A->getOne($v["ac_id"]); goto XUswX; f071Y: goto kS0ud; goto II_QC; oCmSz: Ta728: goto EeDRX; M13ty: mODoi: goto zKQs6; EqEAm: LHyWG: goto PeD2y; WvVqq: $articleInfo["type"] = 0; goto mswIg; xHnFl: if ($v["cl_type"] == 2) { goto PFwr_; } goto f071Y; nLqrx: $shopInfo = $S->getOne($v["ac_id"]); goto SS1RG; zKQs6: goto kS0ud; goto EqEAm; WKzlj: goto kS0ud; goto l_oia; U2ppn: if ($v["cl_type"] == 1) { goto LHyWG; } goto xHnFl; EeDRX: kS0ud: goto jWmRZ; QTYv_: $shopInfo["shop_thumb"] = tomedia($shopInfo["shop_thumb"]); goto Dmeay; l_oia: PFwr_: goto nLqrx; Uvc4v: $data[] = $shopInfo; goto oCmSz; mswIg: $data[] = $articleInfo; goto M13ty; II_QC: sAXyb: goto LYTBY; XUswX: if (!$articleInfo) { goto mODoi; } goto CV03Z; DOmHF: if (!$productInfo) { goto dL3x7; } goto ptrrm; tT_vL: $productInfo["type"] = 1; goto hdfML; ptrrm: $productInfo["pro_thumb"] = tomedia($productInfo["pro_thumb"]); goto tT_vL; hdfML: $data[] = $productInfo; goto b0aDF; PeD2y: $productInfo = $P->getOne($v["ac_id"]); goto DOmHF; b0aDF: dL3x7: goto WKzlj; ubwBa: if ($v["cl_type"] == 0) { goto sAXyb; } goto U2ppn; CV03Z: $articleInfo["ac_thumb"] = tomedia($articleInfo["ac_thumb"]); goto WvVqq; Dmeay: $shopInfo["type"] = 2; goto Uvc4v; jWmRZ: hURh0: goto ZYnEr; ZYnEr: } goto QoA_5; CuuX7: $pageSize = 10; goto p1rnf; dn8uA: $filters["u_openid"] = $_W["openid"]; goto Gxkjj; TMVy0: return $this->result(0, "", $data); goto PGt4y; UNZB2: $filters = array(); goto dn8uA; PGt4y: } public function doPageHasCollection() { goto CGPGs; fND0c: return $this->result(0, ""); goto KIpwl; uQoYZ: return $this->result(1, ""); goto sUqs8; KIpwl: dw1kD: goto uQoYZ; uEyE8: return $this->result(1, ""); goto mtqGy; T8UNX: $id = $_GPC["id"]; goto Mo7XV; CGPGs: global $_W, $_GPC; goto IZbVB; G2ju_: $filters["u_openid"] = $_W["openid"]; goto KavpE; aXgNG: if (!$hasResult) { goto dw1kD; } goto fND0c; Mo7XV: if (!empty($id)) { goto xXgjX; } goto uEyE8; KavpE: $hasResult = $C->getOneByFields($filters); goto aXgNG; LKwP4: $filters["ac_id"] = $id; goto G2ju_; IZbVB: $C = new Collection(); goto T8UNX; VL8Kb: $filters = array(); goto LKwP4; mtqGy: xXgjX: goto VL8Kb; sUqs8: } public function doPageAddLike() { goto lMC1g; YHF2n: sngmr: goto abREA; XCoHR: $insert = array(); goto B2zU6; qU4_E: $A->modify($id, $update); goto YHF2n; jgz32: $filters = array(); goto zgKZg; JYxAc: $A = new Article(); goto bhl3i; yus8L: return $this->result(1, ""); goto k0R2x; k0R2x: JUmkg: goto kLw6f; udcAP: if (!empty($id)) { goto lWOgW; } goto DIj_R; QxVRn: lWOgW: goto jgz32; lMC1g: global $_W, $_GPC; goto RIHxP; abREA: return $this->result(0, ""); goto dca5K; zgKZg: $filters["ac_id"] = $id; goto NuIZf; bhl3i: $id = $_GPC["id"]; goto udcAP; EiBag: $update = array(); goto d_nGR; OySZJ: $ds = $L->getOneByFields($filters); goto xf6NI; J3RBG: return $this->result(1, ""); goto X3a6v; RIHxP: $L = new Like(); goto JYxAc; MCBuS: $insertResult = $L->create($insert); goto hX4MU; pdpCV: $newUpVote = $articleInfo["ac_upvote"] + 1; goto EiBag; xf6NI: if (!$ds) { goto KZosm; } goto J3RBG; kLw6f: $articleInfo = $A->getOne($id); goto fdWPi; X3a6v: KZosm: goto XCoHR; B2zU6: $insert["ac_id"] = $id; goto dQszd; fdWPi: if (!$articleInfo) { goto sngmr; } goto pdpCV; hX4MU: if ($insertResult) { goto JUmkg; } goto yus8L; dQszd: $insert["u_openid"] = $_W["openid"]; goto MCBuS; NuIZf: $filters["u_openid"] = $_W["openid"]; goto OySZJ; DIj_R: return $this->result(1, ""); goto QxVRn; d_nGR: $update["ac_upvote"] = $newUpVote; goto qU4_E; dca5K: } public function doPageGetAllLike() { goto B8hr2; ZNWg9: hNXr7: goto ttwnn; L26CP: return $this->result(0, "", $articleResult["ac_upvote"]); goto ZNWg9; ttwnn: return $this->result(1, ""); goto pWFJr; B8hr2: global $_W, $_GPC; goto oBhTr; JdJv_: $A = new Article(); goto nK9r2; HvcGU: if (!$articleResult) { goto hNXr7; } goto L26CP; nK9r2: $articleResult = $A->getOne($id); goto HvcGU; oBhTr: $id = $_GPC["id"]; goto JdJv_; pWFJr: } public function doPageHasLike() { goto qGapE; No2SI: if (!empty($id)) { goto Zyfzy; } goto OY5o5; UIPrb: $filters = array(); goto qMFYo; yIvgA: return $this->result(0, ""); goto dSNgZ; yX8Mq: Zyfzy: goto UIPrb; z8Sem: if (!$hasResult) { goto J2K5Q; } goto yIvgA; UcR1I: return $this->result(1, ""); goto NsYW2; dsswB: $id = $_GPC["id"]; goto No2SI; qGapE: global $_W, $_GPC; goto LFaAT; qMFYo: $filters["ac_id"] = $id; goto HIbNs; U14aK: $hasResult = $L->getOneByFields($filters); goto z8Sem; dSNgZ: J2K5Q: goto UcR1I; OY5o5: return $this->result(1, ""); goto yX8Mq; HIbNs: $filters["u_openid"] = $_W["openid"]; goto U14aK; LFaAT: $L = new Like(); goto dsswB; NsYW2: } public function doPageArticleQr() { goto SJ8gy; hxLKw: M4YYo: goto AlL0J; SJ8gy: autoload()->func("wxapi"); goto mmvuZ; DdBYZ: $filePath = ATTACHMENT_ROOT . "images/hawk_multishop/qr/" . $uniKey . ".png"; goto VJMN3; IMQtS: $uniKey = md5(serialize(array("id" => $id, "openid" => $_W["openid"]))); goto O9yKC; VJMN3: $qrResult = getQr($qrConfig, $filePath); goto aToUy; AlL0J: $filePath = $qrResult["message"]; goto qidRJ; a8iow: $id = $_GPC["id"]; goto HyZBx; mmvuZ: global $_W, $_GPC; goto pMPHc; qidRJ: $fileUrl = tomedia(str_replace(ATTACHMENT_ROOT, '', $filePath)); goto mmBL5; HL6OA: return $this->result(1, ""); goto BJYf2; aToUy: if (!is_error($qrResult)) { goto M4YYo; } goto Ykw4P; pMPHc: $A = new Article(); goto a8iow; HyZBx: if (!empty($id)) { goto DE7mW; } goto HL6OA; BJYf2: DE7mW: goto IMQtS; mmBL5: return $this->result(0, "", $fileUrl); goto cJeNv; O9yKC: $qrConfig = array("scene" => $id, "page" => "hawk_multishop/pages/article/article", "width" => 300, "line_color" => array("r" => 0, "g" => 139, "b" => 69)); goto DdBYZ; Ykw4P: return $this->result(1, ""); goto hxLKw; cJeNv: } public function doPageOrder() { goto F7qpL; meSPx: $page = intval($_GPC["page"]); goto LAvv3; Y7i0D: $filters["od_status"] = $_GPC["status"]; goto a84Fi; poAD8: M_WyG: goto mMuFB; LAvv3: $page = max($page, 1); goto qLkUh; GLXZL: if (!isset($_GPC["status"])) { goto TYKT0; } goto Y7i0D; F7qpL: global $_W, $_GPC; goto BBVws; KkJ1a: FZwoQ: goto F0KTC; lhfnn: if ($ds) { goto FZwoQ; } goto PErFk; FHuWj: $filters["u_openid"] = $_W["openid"]; goto li6RG; JBZcq: $total = 0; goto hPA9B; rEGXS: v1hW0: goto NaiKn; F0KTC: foreach ($ds as $k => &$v) { goto ZcsfK; kgL3B: jQcx3: goto aLHKM; sLAh1: if (!$goodInfo) { goto jQcx3; } goto uZtY1; tnINN: $v["good"] = $goodInfo; goto kgL3B; ry_Ww: RzNkh: goto fhWBn; ZcsfK: $filters = array(); goto VrVYB; VrVYB: $filters["od_code"] = $v["od_code"]; goto Mj3iQ; Mj3iQ: $goodInfo = $G->getAll($filters); goto sLAh1; uZtY1: foreach ($goodInfo as $key => &$value) { $value["gd_img"] = tomedia($value["gd_img"]); Wtvz9: } goto ry_Ww; fhWBn: unset($value); goto tnINN; aLHKM: qc00k: goto vFOTJ; vFOTJ: } goto poAD8; AVv3Y: $G = new OrderGood(); goto meSPx; li6RG: $ds = $O->getAllByPage($filters, $page, $pageSize, $total, "od_createtime DESC"); goto lhfnn; hPA9B: $filters = array(); goto GLXZL; mMuFB: return $this->result(0, "", $ds); goto bmePP; YogUI: return $this->result(1, ""); goto rEGXS; BBVws: if (!empty($_W["openid"])) { goto v1hW0; } goto YogUI; a84Fi: TYKT0: goto FHuWj; qLkUh: $pageSize = 20; goto JBZcq; PErFk: return $this->result(1, ""); goto KkJ1a; NaiKn: $O = new Order(); goto AVv3Y; bmePP: } public function doPageOrderDelete() { goto oOKSj; GVCBb: if ($ticketResult) { goto Mawc8; } goto F4W9A; cwRlt: if ($goodResult) { goto DCtQg; } goto CC2Gg; V_Bgy: $flag = false; goto glY1n; njnBy: return $this->result(1, ""); goto bpzrZ; gq0Jj: zhudF: goto wpBTL; qFfGE: $filters = array(); goto ePS0g; oOKSj: global $_W, $_GPC; goto eZHgQ; zEfLC: $goodResult = $G->deleteByFields($filters); goto cwRlt; aQnX5: Mawc8: goto JAErz; CkN5G: $G = new OrderGood(); goto DKp9M; BYxbJ: $O = new Order(); goto CkN5G; vs7RP: return $this->result(1, ""); goto i6d_S; ectzd: goto Zfqi4; goto gq0Jj; H3NQX: $filters = array(); goto bUU2A; JAErz: if ($flag) { goto zhudF; } goto wgpxM; bpzrZ: K6YIZ: goto L1_XM; i6d_S: WkDEQ: goto BYxbJ; ePS0g: $filters["od_code"] = $od_code; goto zEfLC; syspZ: return $this->result(0, ""); goto LrBxd; LEYjR: $ticketResult = $T->deleteByFields($filters); goto GVCBb; L1_XM: $flag = true; goto qHrtU; qHrtU: pdo_begin(); goto IxE_3; XEAvM: DCtQg: goto H3NQX; RvcJj: $hasOrder = $O->getOne($od_code); goto IqBjz; zlh38: if ($orderResult) { goto avA_t; } goto V_Bgy; IqBjz: if ($hasOrder) { goto K6YIZ; } goto njnBy; wgpxM: pdo_rollback(); goto iAIcj; glY1n: avA_t: goto qFfGE; CC2Gg: $flag = false; goto XEAvM; F4W9A: $flag = false; goto aQnX5; wpBTL: pdo_commit(); goto syspZ; iAIcj: return $this->result(1, ""); goto ectzd; DKp9M: $T = new OrderTicket(); goto RvcJj; LrBxd: Zfqi4: goto k0r_b; IxE_3: $orderResult = $O->delete($od_code); goto zlh38; eZHgQ: $od_code = $_GPC["od_code"]; goto ATkRO; ATkRO: if (!(empty($_W["openid"]) || empty($od_code))) { goto WkDEQ; } goto vs7RP; bUU2A: $filters["od_code"] = $od_code; goto LEYjR; k0r_b: } public function doPageGetOrder() { goto gp0LY; kTgnc: $mainOrders = $O->getAll($filters); goto dOcnh; hiY5z: foreach ($mainOrders as $v) { goto MfcCI; LuDRx: QTMrq: goto SpzgJ; jHqZW: $od_price += $v["od_price"]; goto LuDRx; MfcCI: $od_code = $v["main_code"]; goto jHqZW; SpzgJ: } goto BJT8F; pxldP: $filters = array(); goto QLRoB; SkKzx: h81pS: goto Kl1hL; BJT8F: P5hJB: goto eMrZ_; sy2Xu: if (!(empty($_W["openid"]) || empty($code))) { goto sbBm6; } goto tyvzw; ko1kg: return $this->result(1, ""); goto SkKzx; n5X3o: $data["order"] = $orderInfo; goto q8vsk; ubf1L: $T = new OrderTicket(); goto yS7z7; uZAEy: return $this->result(0, "", $data); goto sSTCt; q8vsk: if ($mainOrders) { goto zlH2z; } goto pxldP; NLdW0: foreach ($mainOrders as $v) { goto L6yqa; L6yqa: $filters = array(); goto JdOQu; JdOQu: $filters["od_code"] = $v["od_code"]; goto LFJbR; BeLTM: w1DX3: goto pbef8; WGCRv: foreach ($goods as $good) { $goodInfo[] = $good; jCb3m: } goto BeLTM; pbef8: ipsht: goto Jc2Gm; LFJbR: $goods = $G->getAll($filters); goto WGCRv; Jc2Gm: } goto wz8DJ; pQol6: goto KMJs_; goto o6XKZ; CXuI6: H5AHK: goto hRNnc; AlOSd: $data = array(); goto Op4Q7; Kl1hL: foreach ($goodInfo as $k => &$v) { goto ERwEo; SuFQf: $filters = array(); goto RgDQN; ERwEo: $v["gd_img"] = tomedia($v["gd_img"]); goto SuFQf; vImnD: JwIU9: goto VF0Hi; VF0Hi: xBo3W: goto EQE86; xFATj: foreach ($tickets as $ticket) { goto QhPUr; wF7AO: vLwil: goto YZBAb; NYDVw: $v["gd_date"] = $ticket["tk_date"]; goto wF7AO; QhPUr: if (empty($ticket["tk_date"])) { goto vLwil; } goto NYDVw; YZBAb: ff0AI: goto eFcGC; eFcGC: } goto vImnD; RgDQN: $filters["gd_code"] = $v["gd_code"]; goto p_lkH; fMNKX: if (!$tickets) { goto xBo3W; } goto xFATj; p_lkH: $tickets = $T->getAll($filters); goto fMNKX; EQE86: E09VP: goto HfiRT; HfiRT: } goto jhaMY; It3Ap: $filters["main_code"] = $code; goto kTgnc; Op4Q7: $code = $_GPC["code"]; goto sy2Xu; hRNnc: if (!$mainOrders) { goto pyaSI; } goto lrnql; tyvzw: return $this->result(1, ""); goto fm6EB; eMrZ_: $orderInfo["od_code"] = $od_code; goto lrEM_; is7oc: if ($goodInfo) { goto h81pS; } goto ko1kg; BhjN8: KMJs_: goto is7oc; dOcnh: if (!(!$orderInfo && !$mainOrders)) { goto H5AHK; } goto DBc8e; o6XKZ: zlH2z: goto IGHoO; PfJwu: $data["goods"] = $goodInfo; goto uZAEy; lrEM_: $orderInfo["od_price"] = floatval($od_price); goto ubY0C; IGHoO: $goodInfo = array(); goto NLdW0; gp0LY: global $_W, $_GPC; goto AlOSd; DBc8e: return $this->result(1, ""); goto CXuI6; yS7z7: $orderInfo = $O->getOne($code); goto yQmvs; qSRKO: $O = new Order(); goto N_tDu; QLRoB: $filters["od_code"] = $orderInfo["od_code"]; goto yOH9d; yOH9d: $goodInfo = $G->getAll($filters); goto pQol6; N_tDu: $G = new OrderGood(); goto ubf1L; ubY0C: pyaSI: goto n5X3o; yQmvs: $filters = array(); goto It3Ap; lrnql: $od_price = 0; goto hiY5z; jhaMY: CZ0Kx: goto PfJwu; wz8DJ: ii063: goto BhjN8; fm6EB: sbBm6: goto qSRKO; sSTCt: } public function doPageGetQrOrder() { goto lksVh; Odo7h: $T = new OrderTicket(); goto FmaJX; G9gd6: $data["enable_order_code"] = $this->module["config"]["enable_order_code"]; goto zfuMt; dyM3T: gdekw: goto mD3QP; IE7wJ: if (!(empty($_W["openid"]) || empty($code))) { goto Z4KJZ; } goto jJLOR; kg9Bv: $G = new OrderGood(); goto Odo7h; B7cqI: $data["goods"] = $goodInfo; goto i4SLr; i4SLr: $enable_refund = true; goto l4Dhq; uQNpl: $enable_refund = false; goto dyM3T; NGTTM: $filters["od_code"] = $orderInfo["od_code"]; goto zT3Be; yChTx: if (!(!$orderInfo || $orderInfo["od_status"] != 1)) { goto Kf5pd; } goto cmvXf; jJLOR: return $this->result(1, ""); goto LeR1V; YLBWB: $data["order"] = $orderInfo; goto uoJMJ; LeR1V: Z4KJZ: goto WTmSK; Sl2Wy: return $this->result(0, "", $data); goto gzn4f; dpNkR: unset($v); goto B7cqI; TtFI_: $code = $_GPC["code"]; goto IE7wJ; SpPeT: if ($goodInfo) { goto qbbzM; } goto Uuv0t; zT3Be: $goodInfo = $G->getAll($filters); goto SpPeT; zfuMt: $data["enable_code_bar"] = $this->module["config"]["enable_code_bar"]; goto Sl2Wy; Uuv0t: return $this->result(1, ""); goto DzZjk; DzZjk: qbbzM: goto P9BeK; lksVh: autoload()->func("refund"); goto y20tO; mD3QP: $data["enable_refund"] = $enable_refund; goto SqHVU; ZaQy0: $global_refund = $this->module["config"]["enable_refund"]; goto oxxQf; SqHVU: $data["enable_face"] = $this->module["config"]["enable_face"]; goto G9gd6; l4Dhq: $refundResult = enable_refund($orderInfo["od_code"]); goto ZaQy0; ST0bk: $data = array(); goto TtFI_; FmaJX: $orderInfo = $O->getOne($code); goto yChTx; WTmSK: $O = new Order(); goto kg9Bv; P9BeK: foreach ($goodInfo as $k => &$v) { goto lXAaF; KyOgD: if (!$ticketInfo) { goto UfGHp; } goto IuTrA; ETAoc: UfGHp: goto HQBnk; lXAaF: $v["gd_img"] = tomedia($v["gd_img"]); goto Eg1pU; yEe_P: $filters["gd_code"] = $v["gd_code"]; goto hwCN9; Eg1pU: $filters = array(); goto yEe_P; GBE1f: foreach ($ticketInfo as $ticket) { goto bXWsV; cpDBF: csgxE: goto yBNfc; yBNfc: OnCMz: goto bZYlQ; bXWsV: if (empty($ticket["tk_date"])) { goto csgxE; } goto im0o9; im0o9: $v["gd_date"] = $ticket["tk_date"]; goto cpDBF; bZYlQ: } goto UQnod; IuTrA: $v["ticket"] = $ticketInfo; goto GBE1f; UQnod: GeEy4: goto ETAoc; hwCN9: $ticketInfo = $T->getAll($filters); goto KyOgD; HQBnk: RzY3U: goto Bn7g0; Bn7g0: } goto emWO5; oxxQf: if (!(is_error($refundResult) || $global_refund != 1)) { goto gdekw; } goto uQNpl; iHMQO: Kf5pd: goto YLBWB; uoJMJ: $filters = array(); goto NGTTM; emWO5: KcRwb: goto dpNkR; cmvXf: return $this->result(1, ""); goto iHMQO; y20tO: global $_W, $_GPC; goto ST0bk; gzn4f: } public function doPageGetQrCode() { goto gtnEm; f1Tn9: iRQ0z: goto PhplC; Zj1Ny: load()->library("qrcode"); goto ueRgR; R2IuB: Cp87w: goto CjlUz; ueRgR: QRcode::png($code, false, QR_ECLEVEL_Q, 200, 4); goto R2IuB; O_pU1: $code = $_GPC["code"]; goto v8cy4; pFH3K: return $this->result(1, "222"); goto f1Tn9; v8cy4: if (!empty($code)) { goto iRQ0z; } goto pFH3K; PhplC: if (empty($code)) { goto Cp87w; } goto Zj1Ny; gtnEm: global $_W, $_GPC; goto O_pU1; CjlUz: } public function doPageGetBarCode() { goto pvcex; STLQq: RE5bo: goto tcO7x; e2sCp: $colorFront = new BCGColor(0, 0, 0); goto q0nCP; Hw3dL: $drawing->setBarcode($code); goto Ht14q; E43xj: $code->parse($qrcode); goto rn5uh; q0nCP: $colorBack = new BCGColor(255, 255, 255); goto vHpyt; rn5uh: $drawing = new BCGDrawing('', $colorBack); goto Hw3dL; Ob2R1: $qrcode = $_GPC["code"]; goto MGw31; pvcex: global $_W, $_GPC; goto Ob2R1; dE5zC: load()->library("barcode/class/BCGDrawing"); goto e2sCp; bFYzn: header("Content-Type: image/png"); goto V12pu; kUw1c: load()->library("barcode/class/BCGcode128.barcode"); goto dE5zC; MGw31: if (!empty($qrcode)) { goto RE5bo; } goto k7Vfx; plveh: $code->setLabel(''); goto ZXcKu; V12pu: $drawing->finish(BCGDrawing::IMG_FORMAT_PNG); goto CBl3H; k7Vfx: return $this->result(1, ""); goto STLQq; vHpyt: $code = new BCGcode128(); goto plveh; ZXcKu: $code->setScale(2); goto dL4nz; tcO7x: load()->library("barcode/class/BCGColor"); goto kUw1c; dL4nz: $code->setColor($colorFront, $colorBack); goto E43xj; Ht14q: $drawing->draw(); goto bFYzn; CBl3H: } public function doPageGetScan() { goto TQg7u; ueEd1: to1W5: goto WVnik; M65F2: $ScanService = new ScanService(); goto WoRqX; bEInB: C2zVv: goto xQIwJ; WVnik: $globalConfig = $this->module["config"]; goto KoE27; WoRqX: global $_W, $_GPC; goto eoNR6; hcYgs: $shop_id = $_GPC["shop_id"]; goto mj8Em; DaDFK: return $this->result(1, $scanResult["message"]); goto bEInB; UDF5O: if (!is_error($scanResult)) { goto C2zVv; } goto DaDFK; KoE27: $scanResult = $ScanService->authCheckResult($code, $shop_id, $globalConfig); goto UDF5O; aWrBq: return $this->result(1, ""); goto ueEd1; eoNR6: $code = $_GPC["code"]; goto hcYgs; mj8Em: if (!(empty($code) || empty($shop_id))) { goto to1W5; } goto aWrBq; xQIwJ: return $this->result(0, "", $scanResult); goto EoOnM; TQg7u: autoload()->func("scan"); goto M65F2; EoOnM: } public function doPageScanCheck() { goto jqNva; KDWCY: global $_W, $_GPC; goto FLi6N; bjxSd: $log = "(" . $memberInfo["u_nickname"] . ")"; goto I2nP8; Ipo2L: $checkResult = $ScanService->doScanCheck($code, $log, $shopId); goto PLdZU; I2nP8: $_W["globalConfig"] = $this->module["config"]; goto Ipo2L; wc8D8: return $this->result(0, $checkResult["message"], $code); goto Mu75U; PLdZU: if (!is_error($checkResult)) { goto FCrzz; } goto m83vP; zx5G1: autoload()->func("wxapi"); goto PvsO2; FhnYd: nhA0r: goto Mt5kZ; VwHfT: $SubscribeMessageService->orderCheckNotice($code, $template_id); goto wc8D8; Mt5kZ: $M = new Member(); goto VEMLU; ofFKI: $SubscribeMessageService = new SubscribeMessageService(); goto VwHfT; zjCuV: if ($memberInfo) { goto NYSYo; } goto jdC7W; PvsO2: autoload()->func("unique"); goto KDWCY; A7ZA4: $template_id = $this->module["config"]["template_order_check"]; goto ofFKI; jqNva: autoload()->func("template"); goto zx5G1; umFbA: if (!(empty($code) || empty($_W["openid"]))) { goto nhA0r; } goto sc8JF; m83vP: return $this->result(1, $checkResult["message"]); goto NMKgp; ULo6r: $shopId = $memberInfo["shop_id"]; goto bjxSd; VEMLU: $ScanService = new ScanService(); goto QQ2gW; FLi6N: $code = $_GPC["code"]; goto umFbA; EBg87: NYSYo: goto ULo6r; NMKgp: FCrzz: goto A7ZA4; sc8JF: return $this->result(1, ""); goto FhnYd; jdC7W: return $this->result(1, ""); goto EBg87; QQ2gW: $memberInfo = $M->getOneByOpenid($_W["openid"]); goto zjCuV; Mu75U: } public function doPageGetMember() { goto jGmq5; JwC87: UZEXw: goto GM2af; Z_m84: if (!(!$hasShop && $enable_shop_join)) { goto uNLmv; } goto cOYgF; KStTn: $Shop = new Shop(); goto xqhqv; DsFBL: return $this->result(1, ""); goto F2pfd; daBhu: $filters["u_openid"] = $_W["openid"]; goto HGNXL; cZV3E: $memberInfo["level"] = ""; goto hVPNc; G7023: $memberInfo["enable_shop_admin"] = true; goto W99fd; ayYFu: $MemberService = new MemberService(); goto roQBY; fwUuy: $memberInfo["isshow_distribution"] = $isshow_distribution; goto AjsxR; odS8I: $memberInfo["globalConfig"] = $FormatService->formatGlobalConfig($globalConfig); goto xpRoc; AjsxR: $globalConfig = $this->module["config"]; goto JIrZQ; hVPNc: if (!($memberInfo["u_grade"] > 0)) { goto nSHoq; } goto OV_Js; obsg1: $filters = array(); goto dZ6cJ; CVuGO: if (!($hasShop && $hasShop["shop_status"] == 1)) { goto QisfK; } goto G7023; xpRoc: $enable_shop_join = $this->module["config"]["enable_shop_join"]; goto KStTn; pi0Xx: if ($memberInfo) { goto k58BX; } goto DsFBL; F2pfd: k58BX: goto iqLdc; c7id2: if (!$gradeInfo["grade_name"]) { goto ZHnCY; } goto T3dDo; UhlT8: $RefereeService->RefereeEnableCheck($_W["openid"], $globalConfig["distribution_enable_type"], $globalConfig["distribution_enable_limit"]); goto cZV3E; Y1vjc: $memberInfo["balance"] = ":" . $memberInfo["u_balance"]; goto RNF2T; GM2af: $RefereeService = new DistributionRefereeService(); goto UhlT8; jGmq5: global $_W; goto W2ysq; JIrZQ: $FormatService = new FormatService(); goto odS8I; sfKld: $M = new Member(); goto obsg1; RNF2T: $globalConfig["credit_convert_rate"] = $globalConfig["credit_convert_rate"] > 0 ? $globalConfig["credit_convert_rate"] : 10; goto R5K42; zjGoM: return $this->result(1, ""); goto Z1gdK; spjoo: ZHnCY: goto WwPMf; WwPMf: nSHoq: goto Y1vjc; T3dDo: $memberInfo["level"] = $gradeInfo["grade_name"]; goto spjoo; eyid2: $memberInfo = $M->getOneByFields($filters); goto pi0Xx; HGNXL: $hasShop = $Shop->getOneByFields($filters); goto Z_m84; cOYgF: $memberInfo["enable_shop_join"] = true; goto nZSrn; xqhqv: $filters = array(); goto daBhu; dZ6cJ: $filters["u_openid"] = $_W["openid"]; goto eyid2; jUIwn: if (!($hasShop && $hasShop["shop_status"] == 0)) { goto UZEXw; } goto Hha5X; ZGxUj: $gradeInfo = $MemberGradeService->getGradeInfo($memberInfo["u_grade"]); goto c7id2; Hha5X: $memberInfo["enable_shop_apply"] = true; goto JwC87; W99fd: QisfK: goto jUIwn; roQBY: $MemberService->autoUpgrade($_W["openid"]); goto sfKld; Z1gdK: Em4w8: goto ayYFu; OV_Js: $MemberGradeService = new MemberGradeService(); goto ZGxUj; W2ysq: if (!empty($_W["openid"])) { goto Em4w8; } goto zjGoM; nZSrn: uNLmv: goto CVuGO; iqLdc: $isshow_distribution = $this->module["config"]["distribution_is_enable"]; goto fwUuy; R5K42: return $this->result(0, "", $memberInfo); goto BBXDg; BBXDg: } public function doPageMemberInfo() { goto A3kKa; YyoaJ: if (!empty($_W["openid"])) { goto PzXXH; } goto cm5s8; tm5XR: PzXXH: goto KT2o0; cm5s8: return $this->result(1, ""); goto tm5XR; ZeL6z: if ($memberInfo) { goto rzA5g; } goto jR_z5; IMjzr: return $this->result(0, "", $memberInfo); goto JQZPy; jR_z5: return $this->result(1, ""); goto W4in4; NJF_n: $filters["u_openid"] = $_W["openid"]; goto Uv3UV; A3kKa: global $_W; goto YyoaJ; W4in4: rzA5g: goto IMjzr; W1w81: $filters = array(); goto NJF_n; Uv3UV: $memberInfo = $M->getOneByFields($filters); goto ZeL6z; KT2o0: $M = new Member(); goto W1w81; JQZPy: } public function doPageAddMember() { goto jH9S8; hnK2i: jgZJG: goto qcYo4; IS4Lx: $res = $M->create($insert); goto yOPlx; j1OxQ: fHxiR: goto qmoKC; eAK7Z: $insert["u_nickname"] = $u_nickname; goto G_dgb; VhO0r: $filters = array(); goto R1Dn0; BAMu9: return $this->result(1, ""); goto uU0um; R1Dn0: $filters["u_openid"] = $_W["openid"]; goto kQavB; WOsqX: $insert["uniacid"] = $_W["uniacid"]; goto kRlw6; qmoKC: $insert = array(); goto eAK7Z; Z0krM: $M = new Member(); goto EU030; qcYo4: return $this->result(1, ""); goto QuIEh; On56L: return $this->result(0, ""); goto hnK2i; FM81g: if (!$memberInfo) { goto fHxiR; } goto plUJM; kQavB: $memberInfo = $M->getOneByFields($filters); goto FM81g; EU030: $u_nickname = $_GPC["u_nickname"]; goto HEkDK; yOPlx: if (!$res) { goto jgZJG; } goto On56L; jH9S8: global $_GPC, $_W; goto Z0krM; uU0um: i7tMX: goto VhO0r; plUJM: return $this->result(1, ""); goto j1OxQ; Mxj1g: if (!(empty($u_nickname) || empty($u_avatar) || empty($_W["openid"]))) { goto i7tMX; } goto BAMu9; G_dgb: $insert["u_avatar"] = $u_avatar; goto WOsqX; HEkDK: $u_avatar = $_GPC["u_avatar"]; goto Mxj1g; kRlw6: $insert["u_openid"] = $_W["openid"]; goto IS4Lx; QuIEh: } public function doPagePay() { goto Mf11P; N3NhH: DOoXK: goto huYYn; cqwEN: return $this->result(0, "", $pay_params); goto ioWRJ; aYDSr: return $this->result(1, $pay_params["message"]); goto N3NhH; huYYn: if (empty($pay_params["package"])) { goto w0UKc; } goto Tvwij; p4iYk: cache_write($key, $prepay_id); goto gKHqB; ImQN4: load()->func("cache." . cache_type()); goto p4iYk; J0qhj: $order = array("tid" => $orderId, "user" => $_W["openid"], "fee" => floatval($fee), "title" => ""); goto gIA_Q; gKHqB: w0UKc: goto cqwEN; xY972: $prepay_id = $packageArray[1]; goto RrxDM; Mf11P: global $_GPC, $_W; goto fdjU1; gIA_Q: $pay_params = $this->pay($order); goto oE4Tv; Tvwij: $packageArray = explode("=", $pay_params["package"]); goto xY972; zXB7G: $orderId = $_GPC["orderid"]; goto J0qhj; RrxDM: $key = "hawk_multishop_pre" . $_W["openid"]; goto ImQN4; fdjU1: $fee = $_GPC["fee"]; goto zXB7G; oE4Tv: if (!is_error($pay_params)) { goto DOoXK; } goto aYDSr; ioWRJ: } public function payResult($params) { goto SZLLW; LJWMJ: $ForumService->payResultTop($params); goto BGevE; RKEZP: LK1kF: goto rIioe; X1iOm: $CardService = new CardService(); goto zpUUD; vRvEQ: goto HK7lE; goto Em0st; JfBIA: $globalConfig = $this->module["config"]; goto GWz3Z; jf3Ut: $CardService->finishRecharge($orderId, $params["tag"]["transaction_id"]); goto o4IKi; AaCTy: if (strpos($orderId, "top") === 0) { goto z7apO; } goto ULOUb; GWz3Z: incomeOtherHandler($orderId, $globalConfig, "VIP"); goto ZRMcC; S8b1s: autoload()->func("distribution"); goto JfBIA; ZRMcC: HK7lE: goto tH36S; ULOUb: if (strpos($orderId, "vip") === 0) { goto ORgsI; } goto GS_Dt; cNnM6: $_W["globalConfig"] = $this->module["config"]; goto X1iOm; o4IKi: goto HK7lE; goto cYodY; Bm7nI: global $_W; goto cNnM6; K6vV4: $ForumService = new ForumService(); goto LJWMJ; YqJWA: $CardService = new CardService(); goto jf3Ut; aHK4F: $RewardService = new RewardService(); goto MN1qp; Em0st: z7apO: goto K6vV4; o0mg0: $_W["globalConfig"] = $this->module["config"]; goto YqJWA; H3nDC: goto HK7lE; goto t2oqj; m2BNn: if (strpos($orderId, "recharge") === 0) { goto LK1kF; } goto x1yPu; CZRWq: $PayResultService = new PayResultService($globalConfig); goto wNMIN; ts81A: $MemberService = new MemberService(); goto TO7cs; ovO7r: goto HK7lE; goto RKEZP; K7VlH: $globalConfig = $this->module["config"]; goto M7UXP; x1yPu: if (strpos($orderId, "audit") === 0) { goto qg9FE; } goto qBiOx; BGevE: goto HK7lE; goto zyJgC; MN1qp: $RewardService->rewardPaySuccess($orderId, $params); goto vRvEQ; M7UXP: incomeOtherHandler($orderId, $globalConfig, ""); goto H3nDC; cYodY: qg9FE: goto Bm7nI; qBiOx: if (strpos($orderId, "reward") === 0) { goto nu4RK; } goto AaCTy; rIioe: global $_W; goto o0mg0; zyJgC: ORgsI: goto ts81A; TO7cs: $MemberService->payResultUpgradeVip($params); goto S8b1s; zpUUD: $CardService->finishAudit($orderId, $params["tag"]["transaction_id"]); goto YYPad; GS_Dt: $globalConfig = $this->module["config"]; goto CZRWq; wNMIN: $PayResultService->payResult($params); goto ovO7r; t2oqj: nu4RK: goto aHK4F; SZLLW: $orderId = $params["tid"]; goto m2BNn; YYPad: autoload()->func("distribution"); goto K7VlH; tH36S: } public function doPageGetMapMarkers() { goto tq0Vc; hqPLG: if (!$products) { goto OD6T8; } goto DP7Vu; tq0Vc: global $_W, $_GPC; goto Ec2CK; dGYOm: $filters = array(); goto M7tkU; zpU_L: $points = array(); goto Fxkf6; lSshx: if (!empty($markers)) { goto R1xb_; } goto rTCAr; jmyuZ: $pageSize = 20; goto gUtCj; m4LoW: r1JnG: goto sjEzw; TEbrt: $data["points"] = $points; goto CZ0fa; NSlqV: $P = new Product(); goto Wa0Sn; rTCAr: return $this->result(1, ""); goto V3Xth; Ec2CK: $markers = array(); goto zpU_L; ROwuC: $data = array(); goto qYw5m; Fpkvx: $filters["pro_status"] = 0; goto NIUqk; Fxkf6: $A = new Article(); goto NSlqV; M7tkU: $filters["ac_status"] = 0; goto pjuX0; Lc27T: foreach ($articles as $k => $v) { goto ZEhpB; FjJHy: $point["latitude"] = $v["ac_latitude"]; goto eET7n; S2yYQ: $marker["latitude"] = $v["ac_latitude"]; goto td6M1; nZQGP: $marker["id"] = $markerId; goto RoDT2; Hf7WF: $points[] = $point; goto wW20K; td6M1: $marker["longitude"] = $v["ac_longitude"]; goto ZGSc_; oRPaO: NUYeQ: goto umS4n; eET7n: $point["longitude"] = $v["ac_longitude"]; goto Hf7WF; u6Qg2: $markers[] = $marker; goto SzryA; MCPhN: $marker["type"] = 0; goto u6Qg2; wW20K: $markerId++; goto oRPaO; ZGSc_: $marker["title"] = $v["ac_keyword"]; goto MCPhN; ZEhpB: $marker = array(); goto nZQGP; SzryA: $point = array(); goto FjJHy; kY11w: $marker["single"] = $v["ac_map_single"]; goto S2yYQ; RoDT2: $marker["code"] = $v["ac_id"]; goto kY11w; umS4n: } goto m4LoW; jMJAc: $markerId = 0; goto wfCCD; cZEQN: $filters = array(); goto Fpkvx; RFIwx: $articles = $A->getAllByPage($filters, $page, $pageSize, $total, "ac_weight DESC"); goto jMJAc; V3Xth: R1xb_: goto ROwuC; CZ0fa: return $this->result(0, "", $data); goto gGtOp; DP7Vu: foreach ($products as $k => $v) { goto CXz32; vwiHT: $point["longitude"] = $v["pro_longitude"]; goto Cujt8; yDe5E: $markers[] = $marker; goto H831I; Zvfjo: $marker["latitude"] = $v["pro_latitude"]; goto Y4vqn; zhGjb: $point = array(); goto Y22RL; Cujt8: $points[] = $point; goto yDe5E; RJ5fO: $marker["single"] = $v["pro_map_single"]; goto Zvfjo; NnD5_: $marker["code"] = $v["pro_code"]; goto RJ5fO; EOU33: sBBfv: goto VOjFV; H831I: $markerId++; goto EOU33; llGEU: $marker["id"] = $markerId; goto NnD5_; Zcql0: $marker["title"] = $v["pro_keyword"]; goto LjqiG; Y4vqn: $marker["longitude"] = $v["pro_longitude"]; goto Zcql0; LjqiG: $marker["type"] = $v["pro_type"]; goto zhGjb; CXz32: $marker = array(); goto llGEU; Y22RL: $point["latitude"] = $v["pro_latitude"]; goto vwiHT; VOjFV: } goto rrh33; qYw5m: $data["markers"] = $markers; goto TEbrt; NIUqk: $filters["pro_map"] = 1; goto nFvat; wfCCD: if (!$articles) { goto VIXiJ; } goto Lc27T; pjuX0: $filters["ac_map"] = 1; goto RFIwx; UDq9c: $page = max($page, 1); goto jmyuZ; rrh33: WPyv4: goto PitdM; sjEzw: VIXiJ: goto cZEQN; Wa0Sn: $page = intval($_GPC["page"]); goto UDq9c; PitdM: OD6T8: goto lSshx; nFvat: $products = $P->getAllByPage($filters, $page, $pageSize, $total, "pro_weight DESC"); goto hqPLG; gUtCj: $total = 0; goto dGYOm; gGtOp: } public function doPageDistributionQr() { goto maS2g; fF2cL: $qrLocation = $this->module["config"]["qrlocation"]; goto BRAwZ; O610_: q1G_E: goto DCQV2; PKqMs: return $this->result(0, "", $qrUrl); goto p7VbL; L5RPo: $qrFile = ATTACHMENT_ROOT . "hawk_multishop/qrcode/" . $uniKey . ".png"; goto CIj5t; O_QMO: $qrUrl = str_replace(ATTACHMENT_ROOT, $_W["siteroot"] . "attachment/", $qrPath) . "?time=" . $cacheTime; goto DYws1; GAvDQ: if (!empty($cacheTime)) { goto sJI7H; } goto kOyAh; lcx7n: global $_W, $_GPC; goto ZzspS; iyAc_: $qrConfig["nickNamePosition"] = $nickNamePosition; goto NUfEc; sDI58: $avatarSize["height"] = $qrLocationArray[5]; goto zdTtb; CVL5g: $M = new Member(); goto lwXqp; GnP9V: $qrConfig["avatarPosition"] = $avatarPosition; goto iyAc_; ipJa7: $qrResult = getQr($qrConfig, $qrFile); goto ofupp; DCQV2: $qrFile = $qrResult["message"]; goto Z5uWf; l0rWT: $nickNamePosition["x"] = $qrLocationArray[8]; goto S7F7s; WTBam: sJI7H: goto wPgRm; vPV80: oUOhd: goto Uyv0z; BfJBB: $avatarPosition["y"] = $qrLocationArray[7]; goto l0rWT; r7tl3: T6QO2: goto ipJa7; M3JSG: $qrSize["height"] = $qrLocationArray[1]; goto F_Apm; Xu95a: goto Oq0HZ; goto r7tl3; kOyAh: $cacheTime = time(); goto tSjA0; dCvJu: Gv0di: goto dvhXD; mzfdf: $BgQr = new BgQr($_W["openid"], $qrConfig); goto v33If; NrYu0: $qrConfig["qrSize"] = $qrSize; goto d0KTX; Ost6D: r3SPY: goto fF2cL; l3z70: $avatarSize["width"] = $qrLocationArray[4]; goto sDI58; F_Apm: $qrPosition["x"] = $qrLocationArray[2]; goto Zgl7W; exAwU: $qrLocationArray = explode(",", $qrLocation); goto Gp_YC; dvhXD: if (empty($fonts)) { goto r3SPY; } goto z_FQl; ZzspS: if (!empty($_W["openid"])) { goto oUOhd; } goto w6w2C; IsXgp: cache_write("bgImgTime", $cacheTime); goto O_QMO; TzzsD: $qrConfig = array("scene" => $_W["openid"], "page" => "hawk_multishop/pages/distribution/distribution", "width" => 300, "line_color" => array("r" => 0, "g" => 139, "b" => 69)); goto L5RPo; Z5uWf: $bgImgUrl = tomedia($this->module["config"]["distribution_bgImg"]); goto CVL5g; S7F7s: $nickNamePosition["y"] = $qrLocationArray[9]; goto NrYu0; IxwAw: if (empty($qrFontColor)) { goto tx227; } goto BMDej; m4b2i: $cacheTime = time(); goto IsXgp; v33If: $qrPath = $BgQr->getQr($bgImgUrl, $qrFile, $avatarUrl, $memberInfo["u_nickname"]); goto m4b2i; mNt_d: $qrUrl = str_replace(ATTACHMENT_ROOT, $_W["siteroot"] . "attachment/", $qrPath) . "?time=" . $cacheTime; goto Xu95a; Gp_YC: $qrSize["width"] = $qrLocationArray[0]; goto M3JSG; wPgRm: if (!is_file($targetFile)) { goto T6QO2; } goto cgEEN; CIj5t: $targetFile = ATTACHMENT_ROOT . "hawk_multishop/target/" . $uniKey . ".png"; goto FKm4Y; w6w2C: return $this->result(1, ""); goto vPV80; d0KTX: $qrConfig["qrPosition"] = $qrPosition; goto AKdnr; FEZSQ: autoload()->classes("bgQr"); goto lcx7n; Zgl7W: $qrPosition["y"] = $qrLocationArray[3]; goto l3z70; FKm4Y: $cacheTime = cache_read("bgImgTime"); goto GAvDQ; Uyv0z: $uniKey = $_W["openid"]; goto TzzsD; NUfEc: qWUNH: goto mzfdf; n19DH: autoload()->classes("imgUtil"); goto DZouD; DYws1: Oq0HZ: goto PKqMs; QqqPp: $qrFontColor = $this->module["config"]["qrfontcolor"]; goto xBxjn; z_FQl: $qrConfig["fonts"] = $fonts; goto Ost6D; DZouD: autoload()->classes("img"); goto FEZSQ; lwXqp: $memberInfo = $M->getOneByOpenid($_W["openid"]); goto Xi6IO; RjvH_: $qrConfig = array(); goto FnDHS; s8L7P: if (empty($qrFontSize)) { goto Gv0di; } goto MTWci; zdTtb: $avatarPosition["x"] = $qrLocationArray[6]; goto BfJBB; maS2g: autoload()->func("wxapi"); goto n19DH; tSjA0: cache_write("bgImgTime", $cacheTime); goto WTBam; AKdnr: $qrConfig["avatarSize"] = $avatarSize; goto GnP9V; Xi6IO: $avatarUrl = $memberInfo["u_avatar"]; goto RjvH_; BMDej: $fonts["color"] = $qrFontColor; goto U3f7N; U3f7N: tx227: goto s8L7P; MTWci: $fonts["size"] = $qrFontSize; goto dCvJu; BRAwZ: if (empty($qrLocation)) { goto qWUNH; } goto exAwU; ofupp: if (!is_error($qrResult)) { goto q1G_E; } goto PETP1; PETP1: return $this->result(1, $qrResult["message"]); goto O610_; xBxjn: $qrFontSize = $this->module["config"]["qrfontsize"]; goto IxwAw; cgEEN: $qrPath = $targetFile; goto mNt_d; FnDHS: $fonts = array(); goto QqqPp; p7VbL: } public function doPageAddReferee() { goto tLvUz; gvlu7: $RefereeService = new DistributionRefereeService(); goto AQrbi; gffUH: $father = ''; goto ooyLx; ooyLx: goto uIWNy; goto Ot1cx; YNQL0: if (!$map) { goto I8D1X; } goto nnMSS; tLvUz: global $_W, $_GPC; goto AvX6p; Ot1cx: kyVxc: goto ed12b; YhfFa: $SM = new SceneMap(); goto IqZry; ed12b: $father = $_GPC["father"]; goto KrKrm; nnMSS: $father = $map["u_openid"]; goto Zep6T; KrKrm: uIWNy: goto xFcTO; Zep6T: I8D1X: goto MBPaC; IqZry: $filters = array(); goto oxcHI; Ywv4X: if (!is_error($refereeResult)) { goto YP2eq; } goto wyqmZ; xFcTO: if (!(!empty($_GPC["scene"]) && $_GPC["scene"] != "undefined")) { goto PDWSj; } goto YhfFa; AvX6p: if (!empty($_GPC["father"]) && $_GPC["father"] != "undefined") { goto kyVxc; } goto gffUH; uVQgH: $map = $SM->getOneByFields($filters); goto YNQL0; gz_30: YP2eq: goto dsbSY; dsbSY: return $this->result(0, ""); goto n4VYD; AQrbi: $refereeResult = $RefereeService->addReferee($_W["openid"], $father); goto Ywv4X; oxcHI: $filters["sm_key"] = $_GPC["scene"]; goto uVQgH; wyqmZ: return $this->result(1, $refereeResult["message"]); goto gz_30; MBPaC: PDWSj: goto gvlu7; n4VYD: } public function doPageSceneToReferee() { goto r4FXH; IeSXt: $code = $map["sm_code"]; goto IiMrz; V2CFg: if (!$map) { goto S84Fq; } goto hKK21; IiMrz: $data = array("code" => $code, "referee" => $father); goto HA7Wv; DQ_fl: o_UUi: goto GAdej; hKK21: $father = $map["u_openid"]; goto IeSXt; ieDzU: if (empty($_GPC["scene"])) { goto o_UUi; } goto dDXAV; gkkKy: $filters = array(); goto J_Xfs; cv19R: S84Fq: goto DQ_fl; yqvKb: $map = $SM->getOneByFields($filters); goto V2CFg; HA7Wv: return $this->result(0, "", $data); goto cv19R; J_Xfs: $filters["sm_key"] = $_GPC["scene"]; goto yqvKb; dDXAV: $SM = new SceneMap(); goto gkkKy; GAdej: return $this->result(1, ""); goto MWVTm; r4FXH: global $_W, $_GPC; goto ieDzU; MWVTm: } public function doPageDistribution() { goto yNimj; ZnZI8: $data["globalConfig"] = $FormatService->formatGlobalConfig($globalConfig); goto iN_5r; s5pY4: global $_W; goto qj2gW; vHiF7: $filters["u_openid"] = $_W["openid"]; goto JH1yF; ycixS: $data["incomeCount"] = $count; goto y_jJ9; t0_C_: $count = $count ? $count : 0; goto ycixS; UxPia: return $this->result(1, ""); goto ukyLw; ljoln: $R = new DistributionReferee(); goto ZY2RN; lzeBP: $teamArray = getMyTeamArray($_W["openid"], $level); goto OWeoX; PmeLm: $filters = array(); goto hEMHe; ZvIpn: return $this->result(1, ""); goto l9A9O; EsRv6: $refereeInfo["rf_allowmoney"] = $refereeInfo["rf_allowmoney"] > 0 ? floor($refereeInfo["rf_allowmoney"] * 100) / 100 : 0; goto c0Eig; r3m4B: $filters["ds_status"] = 0; goto fjX8G; xFXEf: return $this->result(1, ""); goto DvaAn; yHgoc: $fatherInfo = $M->getOneByFields($filters); goto HaZtK; y_jJ9: $filters = array(); goto vHiF7; iN_5r: return $this->result(0, "", $data); goto BmANQ; zJpkH: $data["withdrawCount"] = $count; goto uviRM; l9A9O: Cc04U: goto QpZSD; FhdZD: $globalConfig = $this->module["config"]; goto ZnZI8; c0Eig: $data["refereeInfo"] = $refereeInfo; goto q2Yog; HWmBU: if ($memberInfo) { goto Cc04U; } goto ZvIpn; JH1yF: $count = $DW->getAllCount($filters); goto BnHNp; qj2gW: if (!empty($_W["openid"])) { goto Sj0I2; } goto UxPia; BnHNp: $count = $count ? $count : 0; goto zJpkH; OWeoX: $data["teamTotal"] = getTeamTotal($teamArray); goto Tulzn; fjX8G: $count = $DI->getAllCount($filters); goto t0_C_; ATuM7: $data = array(); goto PmeLm; C6JOY: $refereeInfo = $R->getOneByFields($filters); goto mIP9D; hEMHe: $filters["u_openid"] = $_W["openid"]; goto kbZQD; Pw7tF: $filters = array(); goto m8ILc; kygad: if (empty($refereeInfo["rf_father"])) { goto jonaF; } goto jgWNS; DvaAn: pO72H: goto JYXk0; q2Yog: fIkiS: goto kygad; HaZtK: if (!$fatherInfo) { goto ySDi2; } goto J6zxe; Tulzn: $FormatService = new FormatService(); goto FhdZD; xzfqp: $DW = new DistributionWithdraw(); goto ATuM7; NrSIM: $refereeInfo["rf_allowmoney"] = $refereeInfo["rf_totalmoney"] - $refereeInfo["rf_usedmoney"] - $refereeInfo["rf_applymoney"]; goto EsRv6; aRuhK: $M = new Member(); goto ljoln; kbZQD: $memberInfo = $M->getOneByFields($filters); goto HWmBU; Jhrnp: jonaF: goto bcJy5; jgWNS: $filters = array(); goto Ll2BO; bcJy5: $data["memberInfo"] = $memberInfo; goto AoNgO; J6zxe: $data["father"] = $fatherInfo; goto t_mYt; bGtOH: $filters["u_openid"] = $_W["openid"]; goto r3m4B; t_mYt: ySDi2: goto Jhrnp; uviRM: $level = $this->module["config"]["distribution_level"]; goto RDFF2; JYXk0: if (!$refereeInfo) { goto fIkiS; } goto NrSIM; ukyLw: Sj0I2: goto aRuhK; mIP9D: if (!($refereeInfo["rf_is_enable"] != 1)) { goto pO72H; } goto xFXEf; Ll2BO: $filters["u_openid"] = $refereeInfo["rf_father"]; goto yHgoc; QpZSD: $data["memberInfo"] = $memberInfo; goto Pw7tF; ZY2RN: $DI = new DistributionIncome(); goto xzfqp; yNimj: autoload()->func("distribution"); goto s5pY4; AoNgO: $filters = array(); goto bGtOH; m8ILc: $filters["u_openid"] = $_W["openid"]; goto C6JOY; RDFF2: $level = isset($level) ? $level : 3; goto lzeBP; BmANQ: } public function doPageGetIncome() { goto Tluo_; s5BYi: if ($ds) { goto GnZ_P; } goto iq7sZ; UeQm4: $pageSize = 20; goto Jpe2k; XNF_U: $ds = $DI->getAllByPage($filters, $page, $pageSize, $total, "ds_id DESC"); goto s5BYi; SalVE: $filters["u_openid"] = $_W["openid"]; goto sJGuO; P_kiA: $filters = array(); goto SalVE; sJGuO: $filters["ds_status"] = 0; goto XNF_U; qvOpG: return $this->result(1, ""); goto cGrhu; aebtK: if (!empty($_W["openid"])) { goto AkRAQ; } goto qvOpG; D9yxO: global $_W, $_GPC; goto aebtK; AL3Ts: $page = intval($_GPC["page"]); goto npVRC; cGrhu: AkRAQ: goto IXrj8; EtXmq: return $this->result(0, "", $ds); goto FCmBT; Jpe2k: $total = 0; goto P_kiA; iq7sZ: return $this->result(1, ""); goto TjaJA; cWNjj: t6ddV: goto EtXmq; Tluo_: autoload()->func("distribution"); goto D9yxO; npVRC: $page = max($page, 1); goto UeQm4; TjaJA: GnZ_P: goto BXZss; IXrj8: $DI = new DistributionIncome(); goto iNa8t; BXZss: foreach ($ds as $k => &$v) { goto k7N8s; bb6Hx: $filters["u_openid"] = $v["ds_openid"]; goto u0OS8; LXI9H: rNswm: goto uj87g; ZKd6K: $v["referee"] = $fatherInfo; goto HsJcT; pjLSC: $v["memberInfo"] = $distributionMemberInfo; goto xNRhG; TXgyr: FI0gR: goto muvpb; HAmbA: $fatherInfo = get_father($v["ds_openid"]); goto Ov1Ek; u0OS8: $distributionMemberInfo = $M->getOneByFields($filters); goto AU833; Ov1Ek: if (is_error($fatherInfo)) { goto rNswm; } goto V0bTX; k7N8s: if (empty($v["ds_openid"])) { goto GnFcW; } goto OYMav; AU833: if (!$distributionMemberInfo) { goto Q8ljR; } goto pjLSC; V0bTX: if (!($fatherInfo["u_openid"] != $_W["openid"])) { goto pq7DI; } goto ZKd6K; Tg0cu: $v["ds_createtime"] = date("Y-m-d H:i", strtotime($v["ds_createtime"])); goto TXgyr; uj87g: GnFcW: goto Tg0cu; HsJcT: pq7DI: goto LXI9H; xNRhG: Q8ljR: goto HAmbA; OYMav: $filters = array(); goto bb6Hx; muvpb: } goto cWNjj; iNa8t: $M = new Member(); goto AL3Ts; FCmBT: } public function doPageGetWithdraw() { goto VKlTF; oBJv7: return $this->result(1, ""); goto q8msh; Wpl9W: $refereeInfo["waitMoney"] = floor($waitMoney) * 100 / 100; goto uc05C; ulgdH: $refereeInfo["allowMoney"] = floor($allowMoney) * 100 / 100; goto RDkOc; lugQF: $DR = new DistributionReferee(); goto wTcSU; T3TLv: $waitMoney = $waitMoney > 0 ? $waitMoney : 0; goto Wpl9W; q1l9H: if (!empty($_W["openid"])) { goto iNzH1; } goto oBJv7; q8msh: iNzH1: goto lugQF; bsfnm: if (!$refereeInfo) { goto yo672; } goto k1uSH; fWIts: $refereeInfo["minLimit"] = $withdraw_minLimit; goto GMY9G; GMY9G: return $this->result(0, "", $refereeInfo); goto zM6q4; QzBqM: $allowMoney = $allowMoney > 0 ? $allowMoney : 0; goto ulgdH; RDkOc: $waitMoney = $refereeInfo["rf_totalmoney"] - $refereeInfo["rf_usedmoney"]; goto T3TLv; B4UMB: $withdraw_minLimit = $withdraw_minLimit > 0 ? $withdraw_minLimit : 0; goto fWIts; zM6q4: yo672: goto Qzrbc; k1uSH: $allowMoney = $refereeInfo["rf_totalmoney"] - $refereeInfo["rf_usedmoney"] - $refereeInfo["rf_applymoney"]; goto QzBqM; VKlTF: global $_W, $_GPC; goto q1l9H; wTcSU: $refereeInfo = $DR->getOneByOpenid($_W["openid"]); goto bsfnm; uc05C: $withdraw_minLimit = $this->module["config"]["withdraw_minLimit"]; goto B4UMB; Qzrbc: return $this->result(1, ""); goto SYe_U; SYe_U: } public function doPageWithdraw() { goto iGWPc; UDZsQ: return $this->result(1, "" . $withdraw_minLimit . ""); goto MyIJy; fBCq0: $insert = array(); goto Sd4i3; mov2a: $updateResult = $DR->modifyByOpenid($_W["openid"], $update); goto XFXKk; iGWPc: global $_W, $_GPC; goto u2H5O; lg_Bk: $appKey = $this->module["config"]["sms_appKey"]; goto VCZkH; LdGRF: $flag = false; goto RS2IR; qGDuH: huAeM: goto rE0i5; bjP9J: bi31a: goto G8yp1; MyIJy: P6hpE: goto PNrKw; fgjNG: return $this->result(1, ""); goto Kt3ZU; gYslZ: nz2nO: goto q0A29; OGIp8: $signText = $this->module["config"]["sms_signName"]; goto lg_Bk; WRvtt: PJtYm: goto EFuE7; m_o8E: return $this->result(1, ""); goto aLGV1; r5vYH: autoload()->func("email"); goto WjDmN; On0r1: $enable_sms = $this->module["config"]["enable_sms"]; goto zO07g; y7b2U: if (empty($_GPC["name"]) || empty($_GPC["account"])) { goto y_92u; } goto Tfso1; WarDb: if (empty($name)) { goto nz2nO; } goto hdKeR; WyCSQ: Lc_Gj: goto JLDrB; IkveP: $insertId = pdo_insertid(); goto isRN5; CHy2i: $DW = new DistributionWithdraw(); goto fBCq0; CowLX: $template_id = $this->module["config"]["sms_withdraw_templateId"]; goto mP_jz; Ct8Z8: if (!($type != "wechat" && $type != "balance")) { goto Lc_Gj; } goto y7b2U; vZpjw: if (!$enable_email) { goto KiU4Q; } goto r5vYH; jRcYm: tOpZP: goto tS5O5; zbgQ0: KiU4Q: goto wlY4h; dBRDy: return $this->result(1, ""); goto TuDID; isRN5: if ($insertResult) { goto kebp5; } goto LdGRF; c4vuc: if (!($enable_sms && $sms_mobile)) { goto CkH55; } goto XzM1n; wgKkH: $type = $_GPC["type"] ? $_GPC["type"] : "wechat"; goto Ct8Z8; m8fY1: TsJ9A: goto qnPql; JLDrB: $DR = new DistributionReferee(); goto SWpem; SWpem: $refereeInfo = $DR->getOneByOpenid($_W["openid"]); goto qGnjb; jVuxq: $M = new Member(); goto sAxrM; nNuSU: SmsDemo::sendWithdrawSms($sms_mobile, $template_id, $username, $signText); goto KFNzn; lwOvA: $body = $_W["account"]["name"] . ",ID:" . $insertId . ""; goto w3mk9; eNFrz: require_once MODULE_ROOT . "/lib/aliyun_sms/aliyunsms.php"; goto CowLX; quHGZ: $insert["dw_fee"] = $fee; goto WarDb; hxUXk: $flag = true; goto CHy2i; Kt3ZU: zT8Oa: goto Oe_jk; eKoTW: $allowMoney = $allowMoney > 0 ? $allowMoney : 0; goto iHWg4; KFNzn: CkH55: goto mkJWI; rE0i5: pdo_commit(); goto On0r1; G8yp1: if ($flag) { goto huAeM; } goto LmqFK; EFuE7: $allowMoney = $refereeInfo["rf_totalmoney"] - $refereeInfo["rf_usedmoney"] - $refereeInfo["rf_applymoney"]; goto eKoTW; e7WJZ: $response = email_send($smtp_admin_email, $subject, $body, $config); goto zbgQ0; qrRIW: $subject = ""; goto lwOvA; LmqFK: pdo_rollback(); goto m_o8E; RS2IR: kebp5: goto NEDbn; qGnjb: if ($refereeInfo) { goto PJtYm; } goto QK2vs; hec60: return $this->result(1, ""); goto UrjfY; wlY4h: return $this->result(0, ""); goto m8fY1; tS5O5: $insert["dw_type"] = $dw_type; goto JN2vb; EPel_: if (!(empty($_W["openid"]) || $fee <= 0)) { goto t0yAU; } goto dBRDy; Oe_jk: $withdraw_minLimit = $this->module["config"]["withdraw_minLimit"]; goto nb87M; QK2vs: return $this->result(1, ""); goto WRvtt; mkJWI: $enable_email = $this->module["config"]["enable_email"]; goto vZpjw; q4EB2: $insert["dw_account"] = $account; goto H3yCy; u2H5O: $fee = $_GPC["fee"]; goto EPel_; XzM1n: $filters = array(); goto bitS2; Sd4i3: $insert["u_openid"] = $_W["openid"]; goto quHGZ; UrjfY: BQWT5: goto WyCSQ; sAxrM: $memberInfo = $M->getOneByFields($filters); goto eNFrz; Tfso1: $name = $_GPC["name"]; goto KgdIJ; KgdIJ: $account = $_GPC["account"]; goto A3xXF; hdKeR: $insert["dw_name"] = $name; goto gYslZ; s31UM: $update["rf_applymoney"] = $applyMoney; goto mov2a; A3xXF: goto BQWT5; goto d6Mjr; PNrKw: pdo_begin(); goto hxUXk; d6Mjr: y_92u: goto hec60; q0A29: if (empty($account)) { goto Da_RP; } goto q4EB2; NEDbn: $applyMoney = $refereeInfo["rf_applymoney"] + $fee; goto tIsUj; iHWg4: if (!($allowMoney <= 0 || $fee > $allowMoney)) { goto zT8Oa; } goto fgjNG; JN2vb: $insertResult = $DW->create($insert); goto IkveP; AK3l9: SmsDemo::setAppConfig($appKey, $appSecret); goto nNuSU; WjDmN: $smtp_admin_email = $this->module["config"]["smtp_admin_email"]; goto qrRIW; BZV0U: utLK6: goto jRcYm; nb87M: if (!($fee < $withdraw_minLimit)) { goto P6hpE; } goto UDZsQ; H3yCy: Da_RP: goto rdtQt; w3mk9: $config = $this->module["config"]; goto e7WJZ; TuDID: t0yAU: goto wgKkH; VCZkH: $appSecret = $this->module["config"]["sms_appSecret"]; goto AK3l9; bitS2: $filters["u_openid"] = $_W["openid"]; goto jVuxq; mP_jz: $username = $memberInfo["u_nickname"]; goto OGIp8; rdtQt: switch ($type) { case "alipay": $dw_type = 1; goto tOpZP; case "bank": $dw_type = 2; goto tOpZP; case "balance": $dw_type = 3; goto tOpZP; default: $dw_type = 0; } goto BZV0U; XFXKk: if ($updateResult) { goto bi31a; } goto FCDSf; tIsUj: $update = array(); goto s31UM; aLGV1: goto TsJ9A; goto qGDuH; zO07g: $sms_mobile = $this->module["config"]["sms_mobile"]; goto c4vuc; FCDSf: $flag = false; goto bjP9J; qnPql: } public function doPageGetWithdrawList() { goto B3aQC; V6ue2: $total = 0; goto il4Ei; Pi47u: return $this->result(1, ""); goto SFHqi; B3aQC: require_once MODULE_ROOT . "/util/WithdrawEnum.util.php"; goto eVo73; yvj1Z: $ds = $DW->getAllByPage($filters, $page, $pageSize, $total, "dw_id DESC"); goto vScol; ARc9I: return $this->result(0, "", $ds); goto Cd5n7; KRflg: $filters["u_openid"] = $_W["openid"]; goto yvj1Z; CYJWO: $page = intval($_GPC["page"]); goto OXYT1; tL_pi: $DW = new DistributionWithdraw(); goto CYJWO; Z0pfX: foreach ($ds as $k => &$v) { goto sqNHl; sqNHl: $v["dw_status"] = $withdrawStatus["{$v["dw_status"]}"]; goto uduep; uduep: $v["dw_createtime"] = date("Y-m-d H:i", strtotime($v["dw_createtime"])); goto FpwSN; FpwSN: R3IPI: goto O7EqU; O7EqU: } goto shZOl; YxJ49: if (!empty($_W["openid"])) { goto LiXRf; } goto Pi47u; vScol: if ($ds) { goto cWnrS; } goto rFhOa; OXYT1: $page = max($page, 1); goto JDxjY; shZOl: I0UN2: goto ARc9I; fYciI: cWnrS: goto Z0pfX; il4Ei: $filters = array(); goto KRflg; JDxjY: $pageSize = 20; goto V6ue2; rFhOa: return $this->result(1, ""); goto fYciI; eVo73: global $_W, $_GPC; goto YxJ49; SFHqi: LiXRf: goto tL_pi; Cd5n7: } public function doPageGetTeam() { goto h14Vu; iPdGL: if (!is_error($team)) { goto OPU0W; } goto VahnK; nvXI7: fKnn1: goto HHcvZ; A2mKo: s8ntc: goto Zk3U2; aFfhs: $tempMenu = array(); goto kEmqO; nlcn8: foreach ($team as $k => $v) { goto Ex6fO; Q4ppA: $tempMenu["total"] = count($v); goto l8czQ; CElBK: H1Ncm: goto WlI_R; l8czQ: $menu[] = $tempMenu; goto CElBK; PLMDD: $tempMenu["name"] = $levelNameArray[$k - 1]; goto Q4ppA; Ex6fO: $tempMenu = array(); goto PLMDD; WlI_R: } goto nvXI7; U3WHB: $level = isset($level) ? $level : 3; goto pUYK1; GT92K: OPU0W: goto B8scY; MRp2f: kiPFP: goto pZYSD; tXHob: if (!($i < $level)) { goto EVA1a; } goto aFfhs; jNXqH: return $this->result(0, "", $data); goto XHF8U; OYvaG: $data["team"] = $team; goto jNXqH; pUYK1: $team = getMyTeam($_W["openid"], $level); goto iPdGL; V5OZI: UHSKx: goto f6R5P; pZYSD: $i = 0; goto zILWR; Pya0M: $tempMenu["total"] = 0; goto wlWzq; WOyug: return $this->result(1, ""); goto V5OZI; wlWzq: $menu[] = $tempMenu; goto KrH7E; KrH7E: Wxy4B: goto h8tmU; QrsDK: global $_W; goto X0KcP; KCdS7: $level = $this->module["config"]["distribution_level"]; goto U3WHB; zILWR: NkyDZ: goto tXHob; X0KcP: if (!empty($_W["openid"])) { goto UHSKx; } goto WOyug; P40wJ: if (empty($levelName)) { goto ePOpo; } goto mZiIU; XY1F8: ePOpo: goto Mp8ea; ABgjp: EVA1a: goto A2mKo; L2GbU: $levelNameArray = array("", "", ""); goto P40wJ; Mp8ea: $menu = array(); goto VOYw2; h8tmU: $i++; goto uGC9K; Zk3U2: $data["menu"] = $menu; goto OYvaG; HHcvZ: goto s8ntc; goto MRp2f; h14Vu: autoload()->func("distribution"); goto QrsDK; mZiIU: $levelNameArray = explode(",", $levelName); goto XY1F8; VOYw2: if (empty($team)) { goto kiPFP; } goto nlcn8; f6R5P: $data = array(); goto KCdS7; kEmqO: $tempMenu["name"] = $levelNameArray[$i]; goto Pya0M; uGC9K: goto NkyDZ; goto ABgjp; VahnK: $team = array(); goto GT92K; B8scY: $levelName = $this->module["config"]["distribution_levelName"]; goto L2GbU; XHF8U: } public function doPageDistributionChart() { goto cp4lO; AGu4w: foreach ($ds as $k => &$v) { goto vQrcj; D20MU: if ($memberInfo) { goto b04Cl; } goto UZST_; rxVAB: K0eVO: goto FFq3C; kfBF3: b04Cl: goto uWo0L; GiRAG: goto vH3Sd; goto kfBF3; ktNXG: $index++; goto rxVAB; UZST_: unset($ds[$k]); goto GiRAG; L2hD0: vH3Sd: goto ktNXG; uWo0L: $v["index"] = $index; goto nZG2w; vQrcj: $memberInfo = $M->getOneByOpenid($v["u_openid"]); goto D20MU; nZG2w: $v["memberInfo"] = $memberInfo; goto L2hD0; FFq3C: } goto EAvbO; LHTCv: $index = 1; goto AGu4w; JFeQ_: $M = new Member(); goto Mt22k; EAvbO: F8GaX: goto SFQCQ; dR0Yo: if ($ds) { goto CAewS; } goto s7Kir; Xl4ky: $total = 0; goto H90zT; cp4lO: global $_W, $_GPC; goto QQxRB; fatXb: $pageSize = 100; goto Xl4ky; ym4NI: $ds = $DR->getAllByPage($filters, $page, $pageSize, $total, "rf_totalmoney DESC"); goto dR0Yo; s7Kir: return $this->result(1, ""); goto XVpo_; Mt22k: $page = intval($_GPC["page"]); goto xg4SK; xg4SK: $page = max($page, 1); goto fatXb; L8wDa: return $this->result(0, "", $ds); goto ROPwv; QQxRB: $DR = new DistributionReferee(); goto JFeQ_; H90zT: $filters = array(); goto ym4NI; SFQCQ: unset($v); goto L8wDa; XVpo_: CAewS: goto LHTCv; ROPwv: } public function doPageRefund() { goto R81WI; J53fF: $sms_mobile = $this->module["config"]["sms_mobile"]; goto j2Xoq; FdZsc: $config = $this->module["config"]; goto HB0m3; j2Xoq: if (!($enable_sms && $sms_mobile)) { goto U5ASJ; } goto UzAXu; bSWHV: $enable_email = $this->module["config"]["enable_email"]; goto OOftm; xQ33n: vd_53: goto nF1LF; iRY2B: if (!empty($_W["openid"])) { goto vd_53; } goto MOLlX; bFbzj: $memberInfo = $M->getOneByFields($filters); goto l2jt6; HB0m3: $response = email_send($smtp_admin_email, $subject, $body, $config); goto imsEF; fJRcl: $subject = ""; goto Lkd2v; re7y3: $appSecret = $this->module["config"]["sms_appSecret"]; goto BMEQF; XKeGP: $appKey = $this->module["config"]["sms_appKey"]; goto re7y3; FFKHg: $username = $memberInfo["u_nickname"]; goto G0BlI; nnGmM: $M = new Member(); goto bFbzj; sLNoA: if (!is_error($applyResult)) { goto gEzTI; } goto SqgkL; c1zDX: $filters["u_openid"] = $_W["openid"]; goto nnGmM; UzAXu: $filters = array(); goto c1zDX; R81WI: autoload()->func("refund"); goto H4bi0; nF1LF: $code = $_GPC["code"]; goto G_O5c; GEau_: gEzTI: goto bXEjZ; G_O5c: $applyResult = refundApply($code, $_W["openid"]); goto sLNoA; l2jt6: require_once MODULE_ROOT . "/lib/aliyun_sms/aliyunsms.php"; goto XmDRQ; LlRHl: $smtp_admin_email = $this->module["config"]["smtp_admin_email"]; goto fJRcl; OOftm: if (!$enable_email) { goto XaXb3; } goto lJAr6; oe5Pw: SmsDemo::sendRefundSms($sms_mobile, $template_id, $username, $signText); goto QVi0s; G0BlI: $signText = $this->module["config"]["sms_signName"]; goto XKeGP; imsEF: XaXb3: goto PgG2m; SqgkL: return $this->result(1, $applyResult["message"]); goto GEau_; bXEjZ: $enable_sms = $this->module["config"]["enable_sms"]; goto J53fF; PgG2m: return $this->result(0, ""); goto CR0yZ; MOLlX: return $this->result(1, ""); goto xQ33n; QVi0s: U5ASJ: goto bSWHV; Lkd2v: $body = $_W["account"]["name"] . ",:" . $code . ""; goto FdZsc; lJAr6: autoload()->func("email"); goto LlRHl; H4bi0: global $_W, $_GPC; goto iRY2B; XmDRQ: $template_id = $this->module["config"]["sms_refund_templateId"]; goto FFKHg; BMEQF: SmsDemo::setAppConfig($appKey, $appSecret); goto oe5Pw; CR0yZ: } public function doPageGetBgImg() { goto ozvri; WJJP4: return $this->result(1, $qrResult["message"]); goto Dh7fO; qVS2v: if (!($_GPC["type"] == "1")) { goto YH9nc; } goto jsvns; Ibgw1: $filters["sm_key"] = $key; goto ayAEI; q76DS: $qrResult = getSingleQr($qrConfig, $qrTarget, $bgUrl, $bgTarget, $location); goto Q2ytf; cuvjB: $qrTarget = ATTACHMENT_ROOT . "hawk_multishop/qrcode/" . $key . ".png"; goto iUdwp; vOvu7: $insert["sm_code"] = $code; goto lxF_7; syuSJ: if (!empty($cacheTime)) { goto VaqlE; } goto CWl5w; Qt1OI: fdmnj: goto q76DS; f0HEs: $qrConfig = array("scene" => $key, "page" => "hawk_multishop/pages/detail/detail", "width" => 300, "line_color" => array("r" => 0, "g" => 139, "b" => 69), "is_hyaline" => true); goto he1b_; dbkEI: if (!(empty($code) || empty($_W["openid"]))) { goto YbkwX; } goto YKuam; WfeOE: $location = explode(",", $productInfo["fs_share_qrlocation"]); goto Qt1OI; xTk3n: return $this->result(0, "", $qrUrl); goto EleyN; ZNkec: $productInfo = $AF->getOneByFields($filters); goto aSf92; SD6Ux: cache_write("bgImgTime", $cacheTime); goto j2w5l; Q2ytf: if (!is_error($qrResult)) { goto BM_US; } goto WJJP4; S3LQe: $filters = array(); goto JGT6v; yaNlL: if ($productInfo) { goto u7InM; } goto DuK_x; CWl5w: $cacheTime = time(); goto Ht9Xh; FRL3X: zECtU: goto f0HEs; a5XI3: $filters = array(); goto Ibgw1; UsyyH: goto qrH0o; goto PyAqV; ae9SN: global $_W, $_GPC; goto Caija; Ht9Xh: cache_write("bgImgTime", $cacheTime); goto z1G8l; e5o6R: u7InM: goto DNlBY; PyAqV: Wa8rz: goto ZQnvv; J1y6q: $qrConfig = array("scene" => $key, "page" => "hawk_multishop/pages/detail_flashsale/detail_flashsale", "width" => 300, "line_color" => array("r" => 0, "g" => 139, "b" => 69), "is_hyaline" => true); goto ligXV; k9Xmp: if ($hasMap) { goto zECtU; } goto t8xi9; e3UoH: qrH0o: goto xTk3n; DNlBY: $SM = new SceneMap(); goto FSoBP; RB_kN: $bgTarget = ATTACHMENT_ROOT . "hawk_multishop/target/" . $key . ".png"; goto LBAj1; t8xi9: $insert = array(); goto NSh6e; rMBrT: $filters["pro_code"] = $code; goto JEAVu; soHDr: if (!is_file($bgTarget)) { goto Wa8rz; } goto HRjr0; KB8NV: $P = new Product(); goto FfV3n; CSxNn: $cacheTime = time(); goto SD6Ux; jsvns: $bgUrl = tomedia($productInfo["fs_share_bgimg"]); goto qfhkk; lh0GR: if (!($_GPC["type"] == "1")) { goto HEu5g; } goto fm0Xp; GfMRZ: if (!($_GPC["type"] == "1")) { goto fdmnj; } goto WfeOE; aSf92: HEu5g: goto yaNlL; ZQnvv: $location = explode(",", $productInfo["pro_share_qrlocation"]); goto GfMRZ; ayAEI: $hasMap = $SM->getOneByFields($filters); goto k9Xmp; DuK_x: return $this->result(1, ""); goto e5o6R; ozvri: autoload()->func("qr"); goto hF9wM; Eotzy: autoload()->classes("imgUtil"); goto ae9SN; qfhkk: YH9nc: goto RB_kN; ligXV: FdLWc: goto cuvjB; hmfjW: YbkwX: goto KB8NV; JGT6v: $filters["fs_code"] = $code; goto ZNkec; Caija: $code = $_GPC["code"]; goto dbkEI; y5O0m: autoload()->classes("img"); goto Eotzy; LBAj1: $cacheTime = cache_read("bgImgTime"); goto syuSJ; GcWrY: $SM->create($insert); goto FRL3X; JEAVu: $productInfo = $P->getOneByFields($filters); goto lh0GR; iUdwp: $bgUrl = tomedia($productInfo["pro_share_bgimg"]); goto qVS2v; z1G8l: VaqlE: goto soHDr; lxF_7: $insert["sm_key"] = $key; goto GcWrY; NSh6e: $insert["u_openid"] = $_W["openid"]; goto vOvu7; gOa4O: $qrUrl = tomedia(str_replace(ATTACHMENT_ROOT, '', $qrResult)) . "?time=" . $cacheTime; goto UsyyH; fm0Xp: $AF = new ActivityFlashSale(); goto S3LQe; Dh7fO: BM_US: goto CSxNn; HRjr0: $qrResult = $bgTarget; goto gOa4O; j2w5l: $qrUrl = tomedia(str_replace(ATTACHMENT_ROOT, '', $qrResult)) . "?time=" . $cacheTime; goto e3UoH; FSoBP: $key = md5($_W["openid"] . $code); goto a5XI3; FfV3n: $filters = array(); goto rMBrT; he1b_: if (!($_GPC["type"] == "1")) { goto FdLWc; } goto J1y6q; hF9wM: autoload()->func("wxapi"); goto y5O0m; YKuam: return $this->result(1, ""); goto hmfjW; EleyN: } public function doPageOptionInfo() { goto Elgoh; LqtvF: $specs = $_GPC["specs"]; goto B182n; LGddE: $filters["specs"] = $specs; goto fYuTA; Elgoh: global $_W, $_GPC; goto LqtvF; pnAFw: $filters = array(); goto LGddE; Pl1Vt: v__s_: goto iIjz9; hAxxc: return $this->result(0, "", $optionInfo); goto t9sOv; LaYtU: return $this->result(1, "", $specs); goto KL099; iIjz9: $OP = new Option(); goto pnAFw; fYuTA: $optionInfo = $OP->getOneByFields($filters); goto CbHyU; ASGY2: return $this->result(1, ""); goto Pl1Vt; KL099: dMU1o: goto hAxxc; B182n: if (!empty($specs)) { goto v__s_; } goto ASGY2; CbHyU: if ($optionInfo) { goto dMU1o; } goto LaYtU; t9sOv: } public function doPageNotice() { goto LnyBp; nBJ83: ctOz5: goto sBDp4; a131X: $total = 0; goto QtBXO; wfehv: $pageSize = 30; goto a131X; xTI6Y: autoload()->func("time"); goto MZY9r; zoAPQ: return $this->result(1, ""); goto nBJ83; k23yx: ZzDTw: goto C2NAF; aVb0Y: $pageIndex = 1; goto wfehv; QtBXO: $O = new Order(); goto tn3Hv; oT735: $M = new Member(); goto J6Frf; MZY9r: $code = $_GPC["code"]; goto aVb0Y; LnyBp: global $_W, $_GPC; goto xTI6Y; J6Frf: $G = new OrderGood(); goto NoMLS; C2NAF: return $this->result(0, "", $notice); goto Bapbs; H1w0i: $ds = $O->getAllByPage($filters, $pageIndex, $pageSize, $total, "od_createtime DESC"); goto zGOnI; sBDp4: $notice = array(); goto oT735; zGOnI: if ($ds) { goto ctOz5; } goto zoAPQ; tn3Hv: $filters = array(); goto H1w0i; NoMLS: foreach ($ds as $v) { goto Losmr; NNOic: lxgS9: goto La7ui; NqhVp: $memberInfo = $M->getOneByOpenid($v["u_openid"]); goto KdM89; La7ui: $timeStr = human_time($orderTime); goto J3r23; AEQnU: vhKTv: goto w5cSi; Hzjmu: $noticeItem = array("avatar" => $memberInfo["u_avatar"], "message" => $message); goto a1M9r; Losmr: $message = ""; goto PRmoz; KdM89: if (!$memberInfo) { goto VYqn1; } goto lQbDZ; i_v2Z: $message = $timeStr . $message; goto mfFNM; lQbDZ: $message = $memberInfo["u_nickname"] . $message; goto Hzjmu; J9tR_: $goods = $G->getAll($filters); goto ebsg8; D3eh_: $filters["od_code"] = $v["od_code"]; goto J9tR_; w5cSi: if (!($v["od_status"] == 1)) { goto KKFU1; } goto Nda0W; mfFNM: Uedhc: goto NqhVp; Nda0W: $message = ""; goto jE55j; uDt1d: goto iY08A; goto NNOic; J3r23: iY08A: goto WFD1G; oRqgS: TozAr: goto bBg1l; QZO2h: $timeStr = ''; goto uDt1d; IykEs: if (time() - $orderTime < 3600) { goto lxgS9; } goto QZO2h; gxt2Q: if (!$timeStr) { goto Uedhc; } goto i_v2Z; ebsg8: foreach ($goods as $good) { goto Z3fCX; ZdP1I: CIdvH: goto upY0G; Z3fCX: if (!($good["pro_code"] == $code)) { goto xrJYK; } goto DaDFj; DaDFj: $message = ""; goto A0TE8; A0TE8: xrJYK: goto ZdP1I; upY0G: } goto AEQnU; WFD1G: $filters = array(); goto D3eh_; a1M9r: $notice[] = $noticeItem; goto dQ5sD; jE55j: KKFU1: goto gxt2Q; PRmoz: $orderTime = strtotime($v["od_createtime"]); goto IykEs; dQ5sD: VYqn1: goto oRqgS; bBg1l: } goto k23yx; Bapbs: } public function doPageFlashSale() { goto Gt0pt; pQfZe: foreach ($ds as $k => &$v) { goto OWz54; lCr9R: I8ooi: goto NHdi0; OWz54: $v["pro_flash_thumb"] = tomedia($v["pro_flash_thumb"]); goto NeB_l; NeB_l: $v["remainTime"] = strtotime($v["pro_flash_endtime"]) - time(); goto lCr9R; NHdi0: } goto xtPZG; OBn79: $filters["groupfilters"] = array("type" => " AND ", "filters" => array("pro_flash_begintime" => array("value" => $currentTime, "glue" => "<"), "pro_flash_endtime" => array("value" => $currentTime, "glue" => ">"))); goto aWHfI; bVTEo: $page = intval($_GPC["page"]); goto dtAH0; Gt0pt: global $_GPC, $_W; goto lypvC; q20VW: $filters["pro_flash_online"] = 1; goto YK0iV; hPqw8: if ($ds) { goto UXz73; } goto qw0af; xtPZG: MPhBN: goto IWugM; IWugM: return $this->result(0, "", $ds); goto m_Yax; qw0af: return $this->result(1, ""); goto Fkv58; rcs7e: $pageSize = 100; goto ShZmM; tkT6S: $filters["pro_status"] = 0; goto q20VW; ShZmM: $total = 0; goto nDGpa; nDGpa: $filters = array(); goto tkT6S; dtAH0: $page = max($page, 1); goto rcs7e; aWHfI: $ds = $P->getAllByPage($filters, $page, $pageSize, $total, "pro_weight DESC,pro_id DESC"); goto hPqw8; YK0iV: $currentTime = date("Y-m-d H:i:s", time()); goto OBn79; Fkv58: UXz73: goto pQfZe; lypvC: $P = new Product(); goto bVTEo; m_Yax: } public function doPageSendVerifyCode() { goto f4KMk; Rsjlo: if ($smsResult["Code"] != "OK") { goto EeeTO; } goto DYkee; iM0o3: return $this->result(1, $smsResult["Message"]); goto cxY5f; gMqL3: $template_id = $this->module["config"]["sms_verify_templateId"]; goto rTonG; sPeRc: aH2fA: goto yghnS; WM3RQ: SmsDemo::setAppConfig($appKey, $appSecret); goto yRNjm; o016M: $sms_intervalTime = $this->module["config"]["sms_intervalTime"]; goto thilB; yghnS: $mobile = $_GPC["mobile"]; goto olOjM; rTonG: $signText = $this->module["config"]["sms_signName"]; goto bvHY1; N5JOm: $_SESSION["time"] = time(); goto Y2mBr; yRNjm: $response = SmsDemo::sendSms($mobile, $template_id, $verifyCode, $signText); goto E4BxG; wiZgz: require_once MODULE_ROOT . "/lib/aliyun_sms/aliyunsms.php"; goto RfH2B; TDYsy: e4S2a: goto EY0Ak; RfH2B: require_once MODULE_ROOT . "/func/array.func.php"; goto N2Jj8; Y2mBr: goto Qo8q7; goto GdIIm; JshiW: return $this->result(1, ","); goto X3zZC; cxY5f: Qo8q7: goto JJZK9; SXcZi: return $this->result(1, ""); goto geZW_; olOjM: if (preg_match("/^1[3456789]\d{9}$/", $mobile)) { goto e4S2a; } goto F2ZYL; bvHY1: $appKey = $this->module["config"]["sms_appKey"]; goto maGXx; o2hBt: if (!(time() - $_SESSION["time"] < $sms_intervalTime)) { goto npJek; } goto JshiW; X3zZC: npJek: goto sPeRc; JJZK9: return $this->result(0, "", array("verifycode" => $verifyCode)); goto w7UG6; GdIIm: EeeTO: goto iM0o3; EY0Ak: if (!empty($_W["openid"])) { goto i0ibA; } goto SXcZi; geZW_: i0ibA: goto wiZgz; thilB: if (!(isset($_SESSION["time"]) && !empty($sms_intervalTime))) { goto aH2fA; } goto o2hBt; F2ZYL: return $this->result(1, ""); goto TDYsy; DYkee: $key = md5("verifycode" . $_W["uniacid"] . $_W["openid"]); goto h2lLJ; f4KMk: global $_W, $_GPC; goto o016M; maGXx: $appSecret = $this->module["config"]["sms_appSecret"]; goto WM3RQ; N2Jj8: $verifyCode = random(6, true); goto gMqL3; h2lLJ: $_SESSION[$key] = $verifyCode; goto N5JOm; E4BxG: $smsResult = object_to_array($response); goto Rsjlo; w7UG6: } public function doPageShopApply() { goto j4tHZ; MCpgA: return $this->result(1, ""); goto z17uq; QTBe8: return $this->result(1, ","); goto Y9yfE; nLtnv: $input = array(); goto o1uNy; a5JZg: $input["shop_thumb"] = $_GPC["shop_thumb"]; goto berdJ; iDajs: if (!(empty($_GPC["identity"]) || !preg_match("/^[1-9]{1}[0-9]{14}$|^[1-9]{1}[0-9]{16}([0-9]|[xX])$/", $_GPC["identity"]))) { goto F_5YQ; } goto SLmdu; gxiMD: if ($addShopResult) { goto go5md; } goto MCpgA; JJrQS: $input["shop_mobile"] = $_GPC["mobile"]; goto vx6TZ; vx6TZ: $input["u_openid"] = $_W["openid"]; goto EfvJv; berdJ: $input["shop_license"] = $_GPC["shop_license"]; goto nJtT8; uu_ca: $S = new Shop(); goto McT_o; Y9yfE: ypJU2: goto nLtnv; iVblp: autoload()->func("template"); goto PoJt_; BATks: if (!$hasShop) { goto ypJU2; } goto QTBe8; ddQGq: return $this->result(0, ""); goto iihHr; AjkuK: F_5YQ: goto aL5hK; R_SPs: $key = md5("verifycode" . $_W["uniacid"] . $_W["openid"]); goto ANe54; ByzzH: dfbkf: goto uu_ca; ekRxl: return $this->result(1, ""); goto e9sVn; Ug8w3: if (empty($formId)) { goto dfbkf; } goto JZl4H; z17uq: go5md: goto ddQGq; xXzuC: $filters["u_openid"] = $_W["openid"]; goto T9pIW; PoJt_: $formId = $_GPC["formId"]; goto Ug8w3; McT_o: $filters = array(); goto xXzuC; T9pIW: $hasShop = $S->getOneByFields($filters); goto BATks; A1pKz: $globalConfig = $this->module["config"]; goto R_SPs; EfgJU: I_kr9: goto A1pKz; Y0YlX: return $this->result(1, ""); goto RvAlm; o1uNy: $input["shop_name"] = $_GPC["shopname"]; goto vOhem; EfvJv: $addShopResult = $S->create($input); goto gxiMD; vOhem: $input["shop_realname"] = $_GPC["realname"]; goto a5JZg; SLmdu: return $this->result(1, ""); goto AjkuK; ANe54: if (!($globalConfig["enable_sms"] == "1" && (empty($_GPC["verifycode"]) || $_GPC["verifycode"] != $_SESSION[$key]))) { goto puTOe; } goto Y0YlX; JZl4H: cache_write_formId($_W["openid"], $formId); goto ByzzH; e9sVn: NL7PC: goto iDajs; QVdCQ: if (!(empty($_GPC["shopname"]) || empty($_GPC["realname"]) || empty($_W["openid"]))) { goto NL7PC; } goto ekRxl; RvAlm: puTOe: goto iVblp; nJtT8: $input["shop_identity"] = $_GPC["identity"]; goto JJrQS; aL5hK: if (!(empty($_GPC["mobile"]) || !preg_match("/^1[3456789]{1}\d{9}$/", $_GPC["mobile"]))) { goto I_kr9; } goto uOCzF; uOCzF: return $this->result(1, ""); goto EfgJU; j4tHZ: global $_W, $_GPC; goto QVdCQ; iihHr: } public function doPageShopIndex() { goto XqUue; kt9wy: $Collection = new Collection(); goto TqMUw; ILHk7: $filters["cl_type"] = 2; goto xpD9n; QX7Wh: V1nny: goto PTnYN; XZhF9: $S = new Shop(); goto uQDaQ; TqMUw: $filters = array(); goto X0vRJ; ALmKk: return $this->result(0, "", $ds); goto Un5Rd; Zo8nM: $shop_id = $_GPC["shop_id"]; goto jD1vD; PTnYN: $ds["shop_thumb"] = tomedia($ds["shop_thumb"]); goto DvP2V; X0vRJ: $filters["ac_id"] = $ds["shop_id"]; goto ILHk7; UVWx1: if ($ds) { goto V1nny; } goto U4A5T; xpD9n: $filters["u_openid"] = $_W["openid"]; goto hi97e; VkE2q: return $this->result(1, ""); goto uCYnv; DvP2V: $ds["shop_license"] = tomedia($ds["shop_license"]); goto ReVdy; XqUue: global $_GPC, $_W; goto Zo8nM; hi97e: $hasCollection = $Collection->getOneByFields($filters); goto Ag1Lm; uQDaQ: $ds = $S->getOne($shop_id); goto UVWx1; U4A5T: return $this->result(1, ""); goto QX7Wh; JWr_u: vbgyG: goto ALmKk; uCYnv: SVwKZ: goto XZhF9; D_Oj7: $ds["hasCollected"] = true; goto JWr_u; jD1vD: if (!empty($shop_id)) { goto SVwKZ; } goto VkE2q; ReVdy: $ds["shop_live_qrcode"] = tomedia($ds["shop_live_qrcode"]); goto kt9wy; Ag1Lm: if (!$hasCollection) { goto vbgyG; } goto D_Oj7; Un5Rd: } public function doPageShop() { goto fr22r; pk4DE: if (!$hasCollection) { goto rMte9; } goto MQUkE; VhL9a: gDajP: goto CJSId; fr22r: global $_GPC, $_W; goto yLLJX; yLLJX: $shop_id = $_GPC["shop_id"]; goto Ntan6; z8HbR: $ds["shop_license"] = tomedia($ds["shop_license"]); goto ZOOjL; sBZaw: $hasCollection = $Collection->getOneByFields($filters); goto pk4DE; bLJTH: return $this->result(1, ""); goto VhL9a; CJSId: $ds["shop_thumb"] = tomedia($ds["shop_thumb"]); goto z8HbR; bGE1j: return $this->result(1, ""); goto MFTzn; VtuhM: rMte9: goto dIIBJ; Ntan6: if (!empty($shop_id)) { goto IiW_4; } goto bGE1j; ZOOjL: $Collection = new Collection(); goto XjpId; MFTzn: IiW_4: goto ubZ2B; dIIBJ: return $this->result(0, "", $ds); goto ttLEr; YpsUl: if ($ds) { goto gDajP; } goto bLJTH; XjpId: $filters = array(); goto wP0D8; dfS0e: $ds = $S->getOne($shop_id); goto YpsUl; jwu9N: $filters["cl_type"] = 2; goto sBZaw; wP0D8: $filters["ac_id"] = $ds["shop_id"]; goto jwu9N; ubZ2B: $S = new Shop(); goto dfS0e; MQUkE: $ds["hasCollected"] = true; goto VtuhM; ttLEr: } public function doPageShopInfo() { goto OwnVX; hL0GA: $shop_id = $_GPC["shop_id"]; goto gxzga; gxzga: if (!empty($shop_id)) { goto x_syK; } goto HIyiI; Uy_cK: $S = new Shop(); goto S7t7a; lJ291: ZLfln: goto gL59M; rMRd3: return $this->result(0, "", $ds); goto Ix8W9; S7t7a: $ds = $S->getOne($shop_id); goto m53gc; m53gc: if ($ds) { goto ZLfln; } goto d1nuN; d1nuN: return $this->result(1, ""); goto lJ291; gL59M: $ds["shop_thumb"] = tomedia($ds["shop_thumb"]); goto Ou0W0; OwnVX: global $_GPC, $_W; goto hL0GA; FdPCk: x_syK: goto Uy_cK; Ou0W0: $ds["shop_license"] = tomedia($ds["shop_license"]); goto rMRd3; HIyiI: return $this->result(1, ""); goto FdPCk; Ix8W9: } public function doPageShopEdit() { goto rAmQ1; twUSg: pvPZH: goto hO427; bxoLN: $update["shop_bankname"] = $_GPC["bankname"]; goto rE52x; BezIa: $update["shop_wechat"] = $_GPC["wechat"]; goto bxoLN; nMIMK: if (!(empty($_GPC["verifycode"]) || $_GPC["verifycode"] != $_SESSION[$key])) { goto KoN1e; } goto inNgA; Xi7S0: $update["shop_realname"] = $_GPC["realname"]; goto M8V3m; B2mP7: if (!(empty($_GPC["identity"]) || !preg_match("/^[1-9]{1}[0-9]{14}$|^[1-9]{1}[0-9]{16}([0-9]|[xX])$/", $_GPC["identity"]))) { goto gHLfG; } goto MJsph; qR5W9: gHLfG: goto nrVlI; PfwTh: $update["shop_mobile"] = $_GPC["mobile"]; goto BezIa; LRsX2: if (!empty($_GPC["shop_id"])) { goto pvPZH; } goto zkV45; inNgA: return $this->result(1, ""); goto aJO1V; yUuSa: $key = md5("verifycode" . $_W["uniacid"] . $_W["openid"]); goto nMIMK; aZILR: $updateResult = $S->modify($_GPC["shop_id"], $update); goto VzmSz; hO427: if (!(empty($_GPC["shopname"]) || empty($_GPC["realname"]) || empty($_W["openid"]))) { goto glnvg; } goto fc8zg; NfIMn: $update["shop_name"] = $_GPC["shopname"]; goto Xi7S0; MJsph: return $this->result(1, ""); goto qR5W9; llRO4: return $this->result(1, ""); goto OfG4L; l0Lww: $update["shop_accountname"] = $_GPC["accountname"]; goto r9rEl; IhJ1O: Yb8L0: goto aZILR; yYiBf: Yv0Ob: goto vlE53; d9M8U: $update["shop_thumb"] = $_GPC["shop_thumb"]; goto IhJ1O; qvR9g: return $this->result(1, ""); goto yYiBf; OfG4L: N3MHW: goto yUuSa; zkV45: return $this->result(1, ""); goto twUSg; zMxQJ: $update = array(); goto NfIMn; nrVlI: if (!(empty($_GPC["mobile"]) || !preg_match("/^1[34578]{1}\d{9}$/", $_GPC["mobile"]))) { goto N3MHW; } goto llRO4; bvbJ8: glnvg: goto B2mP7; rAmQ1: global $_W, $_GPC; goto LRsX2; Mc8aq: $S = new Shop(); goto zMxQJ; VzmSz: if ($updateResult) { goto Yv0Ob; } goto qvR9g; fc8zg: return $this->result(1, ""); goto bvbJ8; vlE53: return $this->result(0, "", $update); goto anRkE; aJO1V: KoN1e: goto Mc8aq; M8V3m: $update["shop_identity"] = $_GPC["identity"]; goto PfwTh; r9rEl: if (empty($_GPC["shop_thumb"])) { goto Yb8L0; } goto d9M8U; rE52x: $update["shop_bankcard"] = $_GPC["bankcard"]; goto l0Lww; anRkE: } public function doPageShopSearch() { goto y1bfr; rCFQD: $filters["groupfilters"] = array("type" => "and", "filters" => array("pro_name" => array("value" => "%" . $key . "%", "glue" => "LIKE"))); goto dfVkP; MI317: return $this->result(1, ""); goto sA065; sA065: OKSSv: goto IxZcR; iWHSM: $pageSize = 20; goto Lckbv; owX02: return $this->result(0, "", $ds); goto Lyoqb; nvTRd: $filters["pro_status"] = 0; goto o5gHd; sKX16: $page = intval($_GPC["page"]); goto oZy_T; mQ7vg: if ($ds) { goto YSqfX; } goto yZqYy; y1bfr: global $_GPC, $_W; goto s3Ksg; E6Kvg: if (!(empty($shop_id) || empty($key))) { goto OKSSv; } goto MI317; dfVkP: $ds = $P->getAllByPage($filters, $page, $pageSize, $total, "pro_weight DESC"); goto mQ7vg; yZqYy: return $this->result(1, ""); goto SACfl; NoxaA: gOWXG: goto RJICK; IxZcR: $P = new Product(); goto sKX16; qSA2z: foreach ($ds as &$v) { $v["pro_thumb"] = tomedia($v["pro_thumb"]); xughe: } goto NoxaA; o5gHd: $filters["shop_id"] = $shop_id; goto rCFQD; SACfl: YSqfX: goto qSA2z; QDr_n: $filters = array(); goto nvTRd; jAtEF: $key = $_GPC["key"]; goto E6Kvg; oZy_T: $page = max($page, 1); goto iWHSM; s3Ksg: $shop_id = $_GPC["shop_id"]; goto jAtEF; Lckbv: $total = 0; goto QDr_n; RJICK: unset($v); goto owX02; Lyoqb: } public function doPageShopCenter() { goto MdPFR; HLtDt: return $this->result(1, ""); goto DfXfV; yMKt2: if (!empty($_W["openid"])) { goto oOi9D; } goto aqSno; aqSno: return $this->result(1, ""); goto iFQht; aGKHK: $filters["scan_createtime"] = array("start" => $beginToday, "end" => $endToday); goto R78BK; BgBta: $Shop = new Shop(); goto mEhbe; rW8II: $shopInfo["todayCount"] = $todayCount; goto q7wXy; iFQht: oOi9D: goto BgBta; i4GMh: $M = new Member(); goto DOxyN; O16q0: $total = 0; goto IfL8G; eRfNk: $pageSize = 50; goto O16q0; DOxyN: $memberInfo = $M->getOneByOpenid($_W["openid"]); goto S_3zh; WwPfY: $filters["shop_id"] = $shopInfo["shop_id"]; goto MOwjJ; VEdVZ: $endToday = date("Y-m-d H:i:s", mktime(0, 0, 0, date("m"), date("d") + 1, date("Y")) - 1); goto GuG2z; ZQtLt: $endThisMonth = date("Y-m-d H:i:s", mktime(23, 59, 59, date("m"), date("t"), date("Y"))); goto rYo93; PtOAN: $shopInfo["memberInfo"] = $memberInfo; goto nfloc; uGrMO: $filters["shop_id"] = $shopInfo["shop_id"]; goto aGKHK; DNTyN: if (!$scanList) { goto gx1rL; } goto vVT1Y; PpYVG: $shopInfo["shop_thumb"] = tomedia($shopInfo["shop_thumb"]); goto i4GMh; mULKv: $filters["u_openid"] = $_W["openid"]; goto FHrva; MOwjJ: $scanList = $Scan->getAllByPage($filters, $page, $pageSize, $total, "scan_createtime DESC"); goto DNTyN; RUHj9: $beginToday = date("Y-m-d H:i:s", mktime(0, 0, 0, date("m"), date("d"), date("Y"))); goto VEdVZ; MK6fs: $shopInfo["monthCount"] = $monthCount; goto rW8II; g6LE2: if ($shopInfo) { goto vLljL; } goto HLtDt; FHrva: $shopInfo = $Shop->getOneByFields($filters); goto g6LE2; vVT1Y: foreach ($scanList as &$v) { $v["scan_createtime"] = date("m/d H:i", strtotime($v["scan_createtime"])); oesDp: } goto C3sDi; iDtyG: $todayCount = $todayCount ?: 0; goto MK6fs; IdFLZ: $Scan = new Scan(); goto Xir4M; Cvg12: $monthCount = $monthCount ?: 0; goto RUHj9; ba3Rb: $filters["shop_id"] = $shopInfo["shop_id"]; goto q_oNG; h2RzC: $monthCount = $Scan->getAllCount($filters); goto Cvg12; mEhbe: $filters = array(); goto mULKv; E0ilk: unset($v); goto mYMS8; q7wXy: return $this->result(0, "", $shopInfo); goto LpZel; IfL8G: $filters = array(); goto WwPfY; S_3zh: if (!$memberInfo) { goto s6oqn; } goto PtOAN; vLzOq: $beginThisMonth = date("Y-m-d H:i:s", mktime(0, 0, 0, date("m"), 1, date("Y"))); goto ZQtLt; q_oNG: $filters["scan_createtime"] = array("start" => $beginThisMonth, "end" => $endThisMonth); goto h2RzC; nfloc: s6oqn: goto IdFLZ; MdPFR: global $_W, $_GPC; goto yMKt2; Oo3LQ: $page = max($page, 1); goto eRfNk; C3sDi: GXp7C: goto E0ilk; R78BK: $todayCount = $Scan->getAllCount($filters); goto iDtyG; CRNL8: gx1rL: goto vLzOq; DfXfV: vLljL: goto PpYVG; mYMS8: $shopInfo["scanList"] = $scanList; goto CRNL8; Xir4M: $page = intval($_GPC["page"]); goto Oo3LQ; rYo93: $filters = array(); goto ba3Rb; GuG2z: $filters = array(); goto uGrMO; LpZel: } public function doPageSearchTicket() { goto mAdVk; fB0Dk: foreach ($scanList as &$v) { $v["scan_createtime"] = date("m/d H:i", strtotime($v["scan_createtime"])); ztmy1: } goto wTYQb; lU579: $total = 0; goto a1D8H; mAdVk: global $_W, $_GPC; goto PKKY1; JDkaf: $page = max($page, 1); goto zpXTh; Ox_by: return error(1, ""); goto pzM__; DD94n: unset($v); goto zwSht; wTYQb: YuGfb: goto DD94n; Rb6AS: $scanList = $Scan->getAllByPage($filters, $page, $pageSize, $total, "scan_createtime DESC"); goto OriFM; aQjYr: $shop_id = $_GPC["shop_id"]; goto gKZ9J; V01WB: JVDNK: goto zN4Wi; vlqNh: $page = intval($_GPC["page"]); goto JDkaf; zpXTh: $pageSize = 50; goto lU579; zN4Wi: return $this->result(1, ""); goto QirHD; pzM__: WGz4s: goto sZOv1; OriFM: if (!$scanList) { goto JVDNK; } goto fB0Dk; PvIOD: $filters["groupfilters"] = array("type" => "and", "filters" => array("tk_code" => array("value" => "%" . $key . "%", "glue" => "LIKE"))); goto Rb6AS; sZOv1: $Scan = new Scan(); goto vlqNh; PKKY1: $key = $_GPC["key"]; goto aQjYr; gKZ9J: if (!(empty($key) || empty($shop_id))) { goto WGz4s; } goto Ox_by; zwSht: return $this->result(0, "", $scanList); goto V01WB; lawaC: $filters["shop_id"] = $shop_id; goto PvIOD; a1D8H: $filters = array(); goto lawaC; QirHD: } public function doPageOperatorList() { goto WORC1; q9uxN: return $this->result(0, "", $ds); goto ivh3y; UezK3: $M = new Member(); goto atfIN; ZtwI2: $ds = $M->getAll($filters); goto HWL0D; lDLXV: $filters["shop_id"] = $_GPC["shop_id"]; goto ZtwI2; PrIPm: return $this->result(1, ""); goto kRRFb; VI_1S: if (!empty($_GPC["shop_id"])) { goto Cd4vL; } goto nPBhf; kRRFb: Ql6fO: goto q9uxN; HWL0D: if ($ds) { goto Ql6fO; } goto PrIPm; nPBhf: return $this->result(1, ""); goto VvEMv; VvEMv: Cd4vL: goto UezK3; atfIN: $filters = array(); goto lDLXV; WORC1: global $_GPC; goto VI_1S; ivh3y: } public function doPageSearchMember() { goto Xe2jn; gKWOJ: $MemberService = new MemberService(); goto um9CR; Xe2jn: global $_GPC; goto jV9zd; tZJoN: if (!is_error($searchResult)) { goto kgHn7; } goto KBm1T; m_5gl: return $this->result(1, ""); goto XD2eL; jV9zd: if (!empty($_GPC["key"])) { goto hKQN0; } goto m_5gl; U6djC: kgHn7: goto VtmBb; um9CR: $searchResult = $MemberService->getOneMemberByName($_GPC["key"]); goto tZJoN; XD2eL: hKQN0: goto gKWOJ; KBm1T: return $this->result(1, ""); goto U6djC; VtmBb: return $this->result(0, "", $searchResult); goto PgehI; PgehI: } public function doPageAuthOperator() { goto tvcS1; icfPT: if (!(empty($_GPC["shop_id"]) || empty($_GPC["member_id"]))) { goto DyYWG; } goto n2Djy; aW7TY: $update = array(); goto XFnRD; LEgR1: $authResult = $M->modify($_GPC["member_id"], $update); goto CZIT7; CZIT7: if ($authResult) { goto UhMIA; } goto fUGXk; fUGXk: return $this->result(1, ""); goto dncFU; XFnRD: $update["shop_id"] = $_GPC["shop_id"]; goto hLyi0; dKQSb: $M = new Member(); goto aW7TY; SEB7o: DyYWG: goto dKQSb; dncFU: UhMIA: goto wpOXV; hLyi0: $update["u_is_admin"] = 1; goto LEgR1; wpOXV: return $this->result(0, ""); goto Q_uGr; n2Djy: return $this->result(1, ""); goto SEB7o; tvcS1: global $_GPC; goto icfPT; Q_uGr: } public function doPageCancelOperator() { goto SIE6w; KpqYu: $update["shop_id"] = ''; goto nfosa; XmSP2: if ($authResult) { goto TN_P5; } goto yK4nY; hgjOq: return $this->result(0, ""); goto Pmf3Q; TbAHJ: if (!empty($_GPC["member_id"])) { goto wX2PG; } goto eWRRJ; eWRRJ: return $this->result(1, ""); goto t3BrE; SIE6w: global $_GPC; goto TbAHJ; NH_en: $authResult = $M->modify($_GPC["member_id"], $update); goto XmSP2; Vwqo2: TN_P5: goto hgjOq; nfosa: $update["u_is_admin"] = 0; goto NH_en; yK4nY: return $this->result(1, ""); goto Vwqo2; fw2WO: $update = array(); goto KpqYu; t3BrE: wX2PG: goto uKs_P; uKs_P: $M = new Member(); goto fw2WO; Pmf3Q: } public function doPageTouristAdd() { goto ToqME; MlDqv: XwQM9: goto YzdWg; nX3qw: return $this->result(1, ""); goto asX_f; VKa3s: if ($insertResult) { goto BgSBX; } goto Iu7dj; Y8OQA: X3tEL: goto eomCd; Ab5Jg: $insertResult = $T->create($insert); goto VKa3s; dW8N5: if (!(empty($name) || empty($type) || empty($card) || empty($mobile) || empty($_W["openid"]))) { goto tx5mQ; } goto nX3qw; ULqff: $T = new Tourist(); goto xCuHV; N4ew2: $type = $_GPC["type"]; goto ODxot; Iu7dj: return $this->result(1, ""); goto L613Z; xCuHV: $name = $_GPC["name"]; goto N4ew2; aLH8E: return $this->result(1, ""); goto MlDqv; cwzJx: $insert["tourist_name"] = $name; goto n4eia; DohTg: $insert["u_openid"] = $_W["openid"]; goto cwzJx; L613Z: BgSBX: goto FFmnF; NFwTI: if (!($type == "")) { goto X3tEL; } goto C5Kgk; ToqME: global $_W, $_GPC; goto ULqff; e0S9k: $insert["tourist_mobile"] = $mobile; goto Ab5Jg; QAdeh: return $this->result(1, ""); goto D1jPi; asX_f: tx5mQ: goto NFwTI; FFmnF: return $this->result(0, ""); goto K7ebE; D1jPi: vKNP_: goto Y8OQA; Atk0y: $insert["tourist_card"] = $card; goto e0S9k; SO7ub: if (IdentityCard::isValid($card)) { goto vKNP_; } goto QAdeh; WVZS5: $mobile = $_GPC["mobile"]; goto dW8N5; ODxot: $card = $_GPC["card"]; goto WVZS5; C5Kgk: autoload()->util("IdentityCard"); goto SO7ub; eomCd: if (preg_match("/^1[3456789]\d{9}$/", $mobile)) { goto XwQM9; } goto aLH8E; YzdWg: $insert = array(); goto DohTg; n4eia: $insert["tourist_type"] = $type; goto Atk0y; K7ebE: } public function doPageTouristEdit() { goto ZPVyV; sklNH: $card = $_GPC["card"]; goto Hkbyw; Nx0Gu: $update["tourist_name"] = $name; goto xBX85; m932J: $name = $_GPC["name"]; goto uuMLL; IF7TY: return $this->result(1, ""); goto TpV5h; xWGvJ: YqwWl: goto Gah3l; uuMLL: $type = $_GPC["type"]; goto sklNH; czT33: $update["tourist_mobile"] = $mobile; goto aNMlR; eoi0R: return $this->result(1, ""); goto xWGvJ; t7onR: if (!(empty($id) || empty($name) || empty($type) || empty($card) || empty($mobile) || empty($_W["openid"]))) { goto LOvMP; } goto KPqz_; aNMlR: $updateResult = $T->modify($id, $update); goto hEGdC; ZPVyV: global $_W, $_GPC; goto cYeXd; Nz2OD: $update = array(); goto Nx0Gu; MJ0ir: $update["tourist_card"] = $card; goto czT33; xBX85: $update["tourist_type"] = $type; goto MJ0ir; TpV5h: D9FSS: goto Nz2OD; dIls9: LOvMP: goto EV1ta; hEGdC: if ($updateResult) { goto YqwWl; } goto eoi0R; Gah3l: return $this->result(0, ""); goto rJiFj; XLp3g: $id = $_GPC["id"]; goto t7onR; cYeXd: $T = new Tourist(); goto m932J; Hkbyw: $mobile = $_GPC["mobile"]; goto XLp3g; KPqz_: return $this->result(1, ""); goto dIls9; EV1ta: if (preg_match("/^1[3456789]\d{9}$/", $mobile)) { goto D9FSS; } goto IF7TY; rJiFj: } public function doPageTourist() { goto imGKH; BunFY: $T = new Tourist(); goto jWLLB; k6oe5: Vw9DO: goto LDj5n; AsCXO: return $this->result(0, "", $tourist); goto W1xt1; imGKH: global $_W, $_GPC; goto BunFY; Mg66Z: return $this->result(1, ""); goto HW6n9; jWLLB: if (!empty($_W["openid"])) { goto Vw9DO; } goto knKAO; L_UOC: $filters["u_openid"] = $_W["openid"]; goto GT63R; GT63R: $tourist = $T->getAll($filters); goto sBcCz; knKAO: return $this->result(1, ""); goto k6oe5; LDj5n: $filters = array(); goto L_UOC; sBcCz: if ($tourist) { goto mSQ_x; } goto Mg66Z; HW6n9: mSQ_x: goto AsCXO; W1xt1: } public function doPageTouristDelete() { goto SAC1a; WTY6l: return $this->result(1, ""); goto Q4HYB; abOkr: if (!(empty($_W["openid"]) || empty($id))) { goto RLoSw; } goto WTY6l; WHnil: $id = $_GPC["id"]; goto abOkr; ZSy66: $T = new Tourist(); goto WHnil; OnnmG: return $this->result(0, ""); goto NSFH9; LxrQ_: return $this->result(1, ""); goto Hy6yG; Hy6yG: mB8Ej: goto OnnmG; laYyi: $deleteResult = $T->delete($id); goto Mb2wj; SAC1a: global $_W, $_GPC; goto ZSy66; Mb2wj: if ($deleteResult) { goto mB8Ej; } goto LxrQ_; Q4HYB: RLoSw: goto laYyi; NSFH9: } public function doPageTouristInfo() { goto RB11J; A9005: if (!empty($id)) { goto iP54k; } goto Ix0AI; RB11J: global $_W, $_GPC; goto F_99G; K56MD: $touristInfo = $T->getOne($id); goto rQ3Qw; GbdW1: return $this->result(0, "", $touristInfo); goto RN7X3; ida9t: iP54k: goto K56MD; E_Z6h: $id = $_GPC["id"]; goto A9005; Ix0AI: return $this->result(1, ""); goto ida9t; rQ3Qw: if ($touristInfo) { goto nrQ0U; } goto V2795; F_99G: $T = new Tourist(); goto E_Z6h; V2795: return $this->result(1, ""); goto vtw8i; vtw8i: nrQ0U: goto GbdW1; RN7X3: } public function doPageShopStatistics() { goto tN6C2; huyFz: $statistics = $ShopService->getStatistics($shopInfo["shop_id"]); goto D8X4O; u0Xk4: bXRBS: goto tFYbY; nyqbh: return $this->result(1, ""); goto RICzT; LuEJq: return $this->result(1, $statistics["message"]); goto u0Xk4; tN6C2: global $_W, $_GPC; goto Lk2az; LOrKx: $shopInfo = $Shop->getOneByFields($filters); goto CD_3I; pMrco: return $this->result(0, "", $shopInfo); goto nXIv3; CD_3I: if ($shopInfo) { goto MI5lE; } goto nyqbh; SGvvs: $filters["u_openid"] = $_W["openid"]; goto LOrKx; VMQX6: $ShopService = new ShopService(); goto huyFz; dkkdn: tiOHC: goto DtVhx; QVfpl: $shopInfo["shop_thumb"] = tomedia($shopInfo["shop_thumb"]); goto VMQX6; tFYbY: $shopInfo["statistics"] = $statistics; goto pMrco; SFEq0: $filters = array(); goto SGvvs; DcMtV: return $this->result(1, ""); goto dkkdn; Lk2az: if (!empty($_W["openid"])) { goto tiOHC; } goto DcMtV; DtVhx: $Shop = new Shop(); goto SFEq0; D8X4O: if (!is_error($statistics)) { goto bXRBS; } goto LuEJq; RICzT: MI5lE: goto QVfpl; nXIv3: } public function doPageShopWithdrawInfo() { goto lsLh0; I38hA: $data["withdrawCycle"] = $withdrawCycle; goto lJA1y; lJA1y: $data["shop_id"] = $shopInfo["shop_id"]; goto e4HCW; xg0Dc: if ($shopInfo) { goto uA6_m; } goto I4HD2; lsLh0: global $_W, $_GPC; goto EdTeX; EdTeX: if (!empty($_W["openid"])) { goto WQEO8; } goto N_q10; N_q10: return $this->result(1, ""); goto uhrMV; L8ktP: $data["applyMoney"] = $shopInfo["shop_applymoney"]; goto bHzUo; uuWaT: $shopInfo = $Shop->getOneByFields($filters); goto xg0Dc; B9hx8: uA6_m: goto fIFwZ; I4HD2: return $this->result(1, ""); goto B9hx8; bHzUo: $data["usedMoney"] = floor(($shopInfo["shop_totalmoney"] - $shopInfo["shop_balance"]) * 100) / 100; goto vm1e8; fIFwZ: $data = array(); goto lNEBx; oLTEy: $withdrawCycle = $withdrawCycle ? $withdrawCycle : 7; goto I38hA; i5kiE: $Shop = new Shop(); goto u2BKE; lNEBx: $data["balance"] = $data["allowMoney"] = $shopInfo["shop_balance"]; goto L8ktP; e4HCW: return $this->result(0, "", $data); goto d39i_; uhrMV: WQEO8: goto i5kiE; vm1e8: $withdrawCycle = $this->module["config"]["withdrawCycle"]; goto oLTEy; u2BKE: $filters = array(); goto OMcvc; OMcvc: $filters["u_openid"] = $_W["openid"]; goto uuWaT; d39i_: } public function doPageMakeShopWithdraw() { goto tYruR; mGQRT: EmHzL: goto Dmqa6; yMRue: if (!(empty($_W["openid"]) || $fee <= 0)) { goto EmHzL; } goto fc3N8; Dmqa6: $Shop = new Shop(); goto AYEMe; y6A3Y: RWF9A: goto vW4tf; Nyy7K: $withdrawResult = $ShopService->makeWithdraw($shopInfo["shop_id"], $fee, $rate); goto ZKTr0; AYEMe: $filters = array(); goto rPK20; tYruR: global $_W, $_GPC; goto D0qwS; ZKTr0: if (!is_error($withdrawResult)) { goto gRipM; } goto xmtyc; D0qwS: $fee = $_GPC["fee"]; goto yMRue; pi8Sn: return $this->result(0, ""); goto x2e94; rPK20: $filters["u_openid"] = $_W["openid"]; goto OwOtY; nitjA: $rate = $this->module["config"]["shop_withdraw_rate"]; goto Nyy7K; K8IFv: if ($shopInfo) { goto RWF9A; } goto SUExb; fc3N8: return $this->result(1, ""); goto mGQRT; xmtyc: return $this->result(1, $withdrawResult["message"]); goto B9QEr; SUExb: return $this->result(1, ""); goto y6A3Y; B9QEr: gRipM: goto pi8Sn; vW4tf: $ShopService = new ShopService(); goto nitjA; OwOtY: $shopInfo = $Shop->getOneByFields($filters); goto K8IFv; x2e94: } public function doPageShopWithdrawList() { goto IC_ua; fEoKy: if (!(empty($_W["openid"]) || empty($shop_id))) { goto p2q7J; } goto YPzKk; C20Z8: if ($ds) { goto N8tJo; } goto c0j1S; Fe1qT: j2SJb: goto u29bD; i24Wj: $shop_id = $_GPC["shop_id"]; goto fEoKy; oi90k: foreach ($ds as $k => &$v) { goto bzRCf; bzRCf: $v["dw_status"] = $withdrawStatus["{$v["dw_status"]}"]; goto nhezn; vw2Op: fNVUJ: goto rcRC2; nhezn: $v["dw_createtime"] = date("Y-m-d H:i", strtotime($v["dw_createtime"])); goto vw2Op; rcRC2: } goto Fe1qT; c0j1S: return $this->result(1, ""); goto rc4n_; PzOyS: global $_W, $_GPC; goto i24Wj; YPzKk: return $this->result(1, ""); goto lFblI; IC_ua: require_once MODULE_ROOT . "/util/ShopWithdrawEnum.util.php"; goto PzOyS; KQ0hm: $SW = new ShopWithdraw(); goto HcPNi; HcPNi: $page = intval($_GPC["page"]); goto N1EvW; u29bD: return $this->result(0, "", $ds); goto pgBwJ; jvrkZ: $pageSize = 100; goto M5ds_; u_Zmo: $ds = $SW->getAllByPage($filters, $page, $pageSize, $total, "dw_id DESC"); goto C20Z8; XgsEB: $filters["shop_id"] = $shop_id; goto u_Zmo; M5ds_: $total = 0; goto zX78b; lFblI: p2q7J: goto KQ0hm; rc4n_: N8tJo: goto oi90k; N1EvW: $page = max($page, 1); goto jvrkZ; zX78b: $filters = array(); goto XgsEB; pgBwJ: } public function doPageGroupDetail() { goto aTQqZ; Q1X3C: if (!is_error($groupDetail)) { goto xmsbS; } goto FTG6_; cyN73: $id = $_GPC["id"]; goto MnVLn; pAbs2: $groupDetail = $GroupService->groupDetail($id); goto Q1X3C; FTG6_: return $this->result(1, $groupDetail["message"]); goto JPh2x; JPh2x: xmsbS: goto cHwuB; aTQqZ: global $_W, $_GPC; goto cyN73; cHwuB: return $this->result(0, "", $groupDetail); goto nY_eF; MnVLn: $GroupService = new GroupService(); goto pAbs2; nY_eF: } public function doPageFaceAdd() { goto yCgZ0; yCgZ0: global $_W, $_GPC; goto Z3tve; EjXoa: $tempFile = $_FILES["file"]["tmp_name"]; goto UlOAA; Et3tH: PLPTv: goto EjXoa; C5lvR: $Member = new Member(); goto pNFNK; ISfuk: $appSecret = $globalConfig["face_secret"]; goto AvNmA; Z3tve: if (!empty($_FILES["file"]["tmp_name"])) { goto PvPpE; } goto Ml73p; kAVTA: if ($memberInfo) { goto PLPTv; } goto K1wxo; lB4fX: if (!empty($_W["openid"])) { goto zDKrZ; } goto qJ_Zt; E0y7G: PvPpE: goto lB4fX; qJ_Zt: return $this->result(1, ""); goto Rpo69; UlOAA: $globalConfig = $this->module["config"]; goto ULhIz; K1wxo: return $this->result(1, ""); goto Et3tH; Ml73p: return $this->result(1, ""); goto E0y7G; FZe0X: $FaceService = new FaceService($appKey, $appSecret); goto rul7S; pNFNK: $memberInfo = $Member->getOneByOpenid($_W["openid"]); goto kAVTA; OPDhy: if (!is_error($addResult)) { goto KL2c_; } goto ZXwR_; sxODU: return $this->result(0, ""); goto d2uHk; Rpo69: zDKrZ: goto C5lvR; AvNmA: $group_id = $globalConfig["face_group"]; goto X4mF1; rul7S: $addResult = $FaceService->addFace($tempFile, $user_id, $group_id); goto OPDhy; ZXwR_: return $this->result(1, $addResult["message"]); goto wkr9y; ULhIz: $appKey = $globalConfig["face_key"]; goto ISfuk; X4mF1: $user_id = $memberInfo["u_id"]; goto FZe0X; wkr9y: KL2c_: goto sxODU; d2uHk: } public function doPageHasFace() { goto ElW5z; Hd8mW: $user_id = $memberInfo["u_id"]; goto sFeA6; VvTsa: if (!empty($_W["openid"])) { goto NyRKD; } goto Ny25f; n48OW: $appKey = $globalConfig["face_key"]; goto TP9Rq; D82gl: $group_id = $globalConfig["face_group"]; goto Hd8mW; UdXTm: NyRKD: goto Wa2PA; Qkauh: if (!is_error($hasResult)) { goto TrCyK; } goto xFSRQ; vTehG: if ($memberInfo) { goto Fzt3B; } goto VhjKL; sFeA6: $FaceService = new FaceService($appKey, $appSecret); goto OdIT2; INsCZ: return $this->result(0, ""); goto hfTdP; TP9Rq: $appSecret = $globalConfig["face_secret"]; goto D82gl; YggeU: $memberInfo = $Member->getOneByOpenid($_W["openid"]); goto vTehG; OdIT2: $hasResult = $FaceService->faceList($user_id, $group_id); goto Qkauh; X4EWe: TrCyK: goto INsCZ; VhjKL: return $this->result(1, ""); goto TMSde; xFSRQ: return $this->result(1, $hasResult["message"]); goto X4EWe; Wa2PA: $Member = new Member(); goto YggeU; Ny25f: return $this->result(1, ""); goto UdXTm; TMSde: Fzt3B: goto WkFyJ; WkFyJ: $globalConfig = $this->module["config"]; goto n48OW; ElW5z: global $_W, $_GPC; goto VvTsa; hfTdP: } public function doPageFaceCheck() { goto rfWtM; w28te: $appKey = $globalConfig["face_key"]; goto gxTyO; qwdMJ: $shopId = $memberInfo["shop_id"]; goto lMUOP; lMUOP: if (!empty($_FILES["file"]["tmp_name"])) { goto ykiRZ; } goto C3lOb; C3lOb: return $this->result(1, ""); goto dBZ_l; Vf8ra: $M = new Member(); goto G0hT9; gxTyO: $appSecret = $globalConfig["face_secret"]; goto qEJJP; hEHa2: LrQCe: goto qwdMJ; aOgo6: $FaceService = new FaceService($appKey, $appSecret); goto Mlkd6; KWzIt: return $this->result(0, ""); goto RvqXs; cB1tW: return $this->result(1, $checkResult["message"]); goto bQXof; Mlkd6: $checkResult = $FaceService->faceCheck($tempFile, $group_id_list, $shopId, $log); goto kYnYt; lFfNh: if (!(!$memberInfo || $memberInfo["u_is_admin"] != 1 || $memberInfo["shop_id"] < 1)) { goto LrQCe; } goto G4ZGQ; kYnYt: if (!is_error($checkResult)) { goto Lvlia; } goto cB1tW; G0hT9: $memberInfo = $M->getOneByOpenid($_W["openid"]); goto lFfNh; gXBSF: $log = "(" . $memberInfo["u_nickname"] . ")"; goto GbXV2; GbXV2: $tempFile = $_FILES["file"]["tmp_name"]; goto G7NMV; G4ZGQ: return $this->result(1, ""); goto hEHa2; LRBxw: return $this->result(1, ""); goto RXDSz; bQXof: Lvlia: goto KWzIt; dBZ_l: ykiRZ: goto gXBSF; qEJJP: $group_id_list = $globalConfig["face_group"]; goto aOgo6; rfWtM: global $_W; goto sm2HF; RXDSz: mUIjh: goto Vf8ra; G7NMV: $globalConfig = $this->module["config"]; goto w28te; sm2HF: if (!empty($_W["openid"])) { goto mUIjh; } goto LRBxw; RvqXs: } public function doPageFaceSetCode() { goto U3iry; U3iry: global $_W, $_GPC; goto PLwPn; DCZWm: $Member = new Member(); goto Pbcxn; V_j9d: $ScanService = new ScanService(); goto qRYXb; HzQJ5: if (!(empty($_W["openid"]) || empty($code))) { goto ZOY3I; } goto uaL0c; ntYKL: ZOY3I: goto DCZWm; PUcVo: return $this->result(1, ""); goto gy00T; Pbcxn: $memberInfo = $Member->getOneByOpenid($_W["openid"]); goto UQTC0; uaL0c: return $this->result(1, ""); goto ntYKL; nnaC9: return $this->result(0, "", $code); goto MeZnE; PLwPn: $code = $_GPC["code"]; goto HzQJ5; UQTC0: if ($memberInfo) { goto Qe7f9; } goto PUcVo; gy00T: Qe7f9: goto V_j9d; qRYXb: $ScanService->setCurrentCode($code, $memberInfo["u_id"]); goto nnaC9; MeZnE: } public function doPageFaceGetCode() { goto Ja3nE; bEB31: Kchcc: goto c4hCY; iLN8L: return $this->result(1, ""); goto bEB31; WHyiG: $memberInfo = $Member->getOneByOpenid($_W["openid"]); goto vL2yw; RR47H: return $this->result(1, $code["message"]); goto ytGU9; KTrH3: $code = $ScanService->getCurrentCode($memberInfo["u_id"]); goto ihfE0; oxfot: KZkJ0: goto ssN0a; xL63F: return $this->result(0, "", $code); goto Guoq5; Ja3nE: global $_W, $_GPC; goto xD8Lc; gPY_3: return $this->result(1, ""); goto oxfot; c4hCY: $ScanService = new ScanService(); goto KTrH3; ytGU9: jKhU1: goto xL63F; ssN0a: $Member = new Member(); goto WHyiG; vL2yw: if ($memberInfo) { goto Kchcc; } goto iLN8L; xD8Lc: if (!empty($_W["openid"])) { goto KZkJ0; } goto gPY_3; ihfE0: if (!is_error($code)) { goto jKhU1; } goto RR47H; Guoq5: } public function doPageAboutUs() { $detail = htmlspecialchars_decode($this->module["config"]["about_us"]); return $this->result(0, "", $detail); } public function doPageForum() { goto a3SNC; a3SNC: global $_W; goto Frzhq; jpDyV: foreach ($advInfo as &$item) { goto aaDy3; aaDy3: $item["thumb"] = tomedia($item["thumb"]); goto xQ3Um; bn1Qo: sol57: goto ESyPm; xQ3Um: $item["key"] = $item["link"]; goto bn1Qo; ESyPm: } goto lpSDw; JeoeB: $data["title"] = $title; goto vgUlg; i_X5p: if (!is_error($category)) { goto odt3k; } goto wckWv; kI02M: if (empty($title)) { goto I1amL; } goto JeoeB; I9dgd: $articles = $ArticleService->forumArticle(); goto HXiOM; GRGd4: return $this->result(0, "", $data); goto yzRWz; fM1ox: $ArticleService = new ArticleService(); goto I9dgd; KN0gH: uzG3m: goto GRGd4; pYjwz: goto uzG3m; goto Rfyfp; M0VoJ: if ($advInfo) { goto wdPKA; } goto aXqCL; wLh6u: wdPKA: goto jpDyV; J6sBL: $advInfo = pdo_getall("hmultishop_adver", array("enabled" => 1, "type" => 3, "uniacid" => $_W["uniacid"]), array(), '', "displayorder DESC"); goto M0VoJ; xWRNf: Ts1kW: goto fM1ox; aXqCL: $data["banner"] = array(); goto dlHev; dlHev: goto Ts1kW; goto wLh6u; pTaNF: $title = $globalConfig["forum_title"]; goto kI02M; wckWv: $category = array(); goto SbhMG; Al67B: $globalConfig = $this->module["config"]; goto hOUdg; ZYMAh: $data = array(); goto KKLcL; Rfyfp: X7eXY: goto xWHJ0; KKLcL: $data["category"] = $category; goto HC52D; HC52D: $data["thread"] = $ForumService->getAppThread(); goto pTaNF; xWHJ0: $data["articles"] = $articles; goto KN0gH; SbhMG: odt3k: goto ZYMAh; ZyS1T: $data["banner"] = $advInfo; goto xWRNf; Frzhq: $ForumService = new ForumService(); goto Al67B; gFycB: $data["articles"] = array(); goto pYjwz; vgUlg: I1amL: goto J6sBL; HXiOM: if (!is_error($articles)) { goto X7eXY; } goto gFycB; hOUdg: $category = $ForumService->formatAppCategory($globalConfig); goto i_X5p; lpSDw: D0Psp: goto ZyS1T; yzRWz: } public function doPageMoreThread() { goto cwc0Q; KHV4c: $page = $_GPC["page"]; goto uoiWB; VBylv: $threads = $ForumService->getAppThread($page, $categoryId); goto xbG_c; pRBvT: $ForumService = new ForumService(); goto VBylv; xbG_c: if (!is_error($threads)) { goto oFM1x; } goto jG2da; iYTfr: return $this->result(0, "", $threads); goto v_qkJ; uoiWB: $categoryId = $_GPC["categoryId"]; goto pRBvT; cwc0Q: global $_W, $_GPC; goto KHV4c; E176q: oFM1x: goto iYTfr; jG2da: return $this->result(1, $threads["message"]); goto E176q; v_qkJ: } public function doPageRewardInfo() { goto Jvz0Y; tkHLE: $rewardInfo = $ForumService->getThreadRewardInfo($threadId); goto LkErM; gOm8z: $threadId = $_GPC["threadId"]; goto Eb5op; wTTFU: iabXP: goto ZpVa6; QpzhR: if (!is_array($rewardMoney)) { goto iabXP; } goto WrLDJ; ZpVa6: return $this->result(0, "", $rewardInfo); goto st0Ia; Eb5op: $ForumService = new ForumService(); goto tkHLE; WBa8J: $rewardMoney = $this->module["config"]["forum_reward_money"]; goto ysO7Y; ysO7Y: if (!empty($rewardMoney)) { goto nTD0u; } goto ahKdZ; Jvz0Y: global $_W, $_GPC; goto gOm8z; GCRAP: return $this->result(1, $rewardInfo["message"]); goto ZH8Gl; LkErM: if (!is_error($rewardInfo)) { goto n3nDd; } goto GCRAP; ZH8Gl: n3nDd: goto WBa8J; VDFgE: nTD0u: goto kzmX0; ahKdZ: $rewardMoney = "1#2#5#10#20#50"; goto VDFgE; kzmX0: $rewardMoney = explode("#", $rewardMoney); goto QpzhR; WrLDJ: $rewardInfo["moneyConfig"] = $rewardMoney; goto wTTFU; st0Ia: } public function doPageReward() { goto gNLFi; CB2Ko: pHQb0: goto JLjWe; lM43G: return $this->result(1, $orderId["message"]); goto CB2Ko; IuFNV: $orderId = $RewardService->doReward($threadId, $money, $_W["openid"]); goto gVitG; JLjWe: return $this->result(0, "", $orderId); goto cCPiE; gNLFi: global $_W, $_GPC; goto zMbdr; IDRJg: $RewardService = new RewardService(); goto IuFNV; zMbdr: $threadId = $_GPC["threadId"]; goto GAUh8; GAUh8: $money = $_GPC["money"]; goto IDRJg; gVitG: if (!is_error($orderId)) { goto pHQb0; } goto lM43G; cCPiE: } public function doPageRewardSuccess() { goto MMFm2; EUqum: $orderId = $_GPC["orderId"]; goto r_xUQ; iqcIF: if (!is_error($result)) { goto ik3d8; } goto m0c5s; MMFm2: global $_W, $_GPC; goto EUqum; Vp9MS: return $this->result(0, ""); goto Y3GLZ; dIY74: ik3d8: goto Vp9MS; m0c5s: return $this->result(1, $result["message"]); goto dIY74; r_xUQ: $RewardService = new RewardService(); goto qVq7R; qVq7R: $result = $RewardService->rewardPaySuccess($orderId); goto iqcIF; Y3GLZ: } public function doPageComment() { goto DG3tH; kQfsZ: return $this->result(1, $commentResult["message"]); goto RkK3R; haSu5: $ForumService = new ForumService(); goto Fs9C8; DG3tH: global $_W, $_GPC; goto OXooT; OXooT: $threadId = $_GPC["threadId"]; goto q9IRY; UFwfu: if (!is_error($commentResult)) { goto vPzJU; } goto kQfsZ; q9IRY: $content = $_GPC["content"]; goto haSu5; Fs9C8: $commentResult = $ForumService->doComment($threadId, $_W["openid"], $content); goto UFwfu; i60ca: return $this->result(0, ""); goto JnVi1; RkK3R: vPzJU: goto i60ca; JnVi1: } public function doPageVote() { goto U8bQd; P9ySR: $voteResult = $ForumService->doVote($threadId, $_W["openid"]); goto LTvQD; rXTOY: RkFas: goto PiG2U; e1yHR: $threadId = $_GPC["threadId"]; goto WrvGe; WrvGe: $ForumService = new ForumService(); goto P9ySR; Vr7oV: return $this->result(1, $voteResult["message"]); goto rXTOY; LTvQD: if (!is_error($voteResult)) { goto RkFas; } goto Vr7oV; PiG2U: return $this->result(0, ""); goto qypxs; U8bQd: global $_W, $_GPC; goto e1yHR; qypxs: } public function doPageThread() { goto np3BR; np3BR: global $_W, $_GPC; goto j9wDj; fsaMU: $topConfig = $this->module["config"]["forum_top"]; goto nhHdQ; YRbCC: if (is_error($category)) { goto RJJVi; } goto ZzVaw; ZzVaw: $data["category"] = $category; goto rUZ33; nhHdQ: $data["top"] = $ForumService->formatTop($topConfig); goto AXtrS; Xsz8o: $data["enable_video"] = $this->module["config"]["forum_enable_video"]; goto rePLw; zpg5l: $ForumService = new ForumService(); goto xOcui; xOcui: $category = $ForumService->getThreadCategory(); goto YRbCC; rUZ33: RJJVi: goto fsaMU; rePLw: return $this->result(0, "", $data); goto YSt1N; AXtrS: $data["enable_voice"] = $this->module["config"]["forum_enable_voice"]; goto Xsz8o; j9wDj: $data = array(); goto zpg5l; YSt1N: } public function doPageParseLocation() { goto jtLFB; QJHRb: $data["address"] = $address; goto Re6Sj; jKtK6: $address = $data["province"] . "" . $data["city"] . "" . $data["district"]; goto QJHRb; kStXG: $data = $LocationService->parseDistrict($latitude, $longitude, $mapKey); goto jKtK6; kAaDM: $latitude = $_GPC["latitude"]; goto rdn9O; YZ4Uy: return $this->result(0, "", $data); goto kV0jP; U7XDq: mAIi0: goto YZ4Uy; RAxiF: $LocationService = new LocationService(); goto kStXG; Re6Sj: if (!is_error($data)) { goto mAIi0; } goto I7vIf; I7vIf: return $this->result(1, $data["message"]); goto U7XDq; rdn9O: $longitude = $_GPC["longitude"]; goto MD9uk; jtLFB: global $_W, $_GPC; goto kAaDM; MD9uk: $mapKey = $this->module["config"]["map_key"]; goto RAxiF; kV0jP: } public function doPageSendThread() { goto icZdH; icZdH: global $_W, $_GPC; goto cyN2C; whyft: $topConfig = $this->module["config"]["forum_top"]; goto bLkBa; NaAlJ: return $this->result(1, $sendResult["message"]); goto NW2nn; NW2nn: ieXwJ: goto f52tl; cyN2C: $_GPC["openid"] = $_W["openid"]; goto KPE6T; KPE6T: $_GPC["images"] = htmlspecialchars_decode($_GPC["images"]); goto whyft; jgabv: $sendResult = $ForumService->sendThread($_GPC, $topConfig); goto qS7G8; f52tl: return $this->result(0, "", $sendResult); goto cQLFB; qS7G8: if (!is_error($sendResult)) { goto ieXwJ; } goto NaAlJ; bLkBa: $ForumService = new ForumService(); goto jgabv; cQLFB: } public function doPagePaySuccessThread() { goto Ad1bt; R3OIC: $ForumService = new ForumService(); goto vZuf6; hmfuT: return $this->result(0, ""); goto immvi; Ad1bt: global $_W, $_GPC; goto LB1Kt; hGdzd: return $this->result(1, $result["message"]); goto ZQdZU; vZuf6: $result = $ForumService->paySuccessThread($threadId); goto qfj6w; LB1Kt: $threadId = $_GPC["threadId"]; goto R3OIC; qfj6w: if (!is_error($result)) { goto bfTES; } goto hGdzd; ZQdZU: bfTES: goto hmfuT; immvi: } public function doPageUpgradeVip() { goto RlNVj; Slelh: $upgradeResult = $MemberService->upgradeVip($_W["openid"]); goto Kdkcl; tKtke: $MemberService = new MemberService(); goto Slelh; Kdkcl: if (!is_error($upgradeResult)) { goto uKRKm; } goto DbxZn; RlNVj: global $_W, $_GPC; goto tKtke; TvZLh: uKRKm: goto tnp72; tnp72: return $this->result(0, "VIP"); goto PvQbn; DbxZn: return $this->result(1, $upgradeResult["message"]); goto TvZLh; PvQbn: } public function doPageAddVipPayLog() { goto pEa3l; pEa3l: global $_W, $_GPC; goto z6iF9; BJ9i0: if (!is_error($result)) { goto fPCU4; } goto NZUpO; NZUpO: return $this->result(1, $result["message"]); goto oAMvW; lcMAu: $result = $PayLogService->addVipLog($fee, $_W["openid"]); goto BJ9i0; z6iF9: $PayLogService = new PayLogService(); goto nGE0T; zqcGY: $data["code"] = $result; goto xTdsk; xTdsk: return $this->result(0, "", $data); goto PRbJH; NQOd0: $data = array(); goto G8nUC; G8nUC: $data["fee"] = $fee; goto zqcGY; oAMvW: fPCU4: goto NQOd0; nGE0T: $fee = $this->module["config"]["vip_money"]; goto lcMAu; PRbJH: } public function doPageSearch() { goto So6oI; BhOte: $articles = $ArticleService->searchArticle($keyword); goto gFsQI; fg85M: return $this->result(0, "", $articles); goto vNEvx; F6klG: return $this->result(1, $articles["message"]); goto S0L5t; gFsQI: if (!is_error($articles)) { goto ysG3M; } goto F6klG; vNEvx: goto TrGxr; goto YhkXK; VLWQT: if ($type == "product") { goto vwEvz; } goto Wxrjq; s4wGx: $ProductService = new ProductService(); goto NSnJO; So6oI: global $_W, $_GPC; goto izN82; YhkXK: vwEvz: goto s4wGx; S0L5t: ysG3M: goto fg85M; iNWWj: return $this->result(0, "", $products); goto vECb9; onGlR: sza2v: goto iNWWj; vECb9: TrGxr: goto KD3nY; tiSje: return $this->result(1, $products["message"]); goto onGlR; izN82: $keyword = $_GPC["keyword"]; goto PYKXE; NSnJO: $products = $ProductService->searchProduct($keyword); goto QKaxS; QKaxS: if (!is_error($products)) { goto sza2v; } goto tiSje; Wxrjq: $ArticleService = new ArticleService(); goto BhOte; PYKXE: $type = $_GPC["type"]; goto VLWQT; KD3nY: } public function doPageBalanceWithdraw() { goto ANIy3; PrJk_: return $this->result(1, $withdrawResult["message"]); goto Tlgiq; q7Fyy: $withdrawResult = $MemberService->balanceWithdraw($_W["openid"]); goto UnqKw; qi_ur: $MemberService = new MemberService(); goto q7Fyy; ANIy3: global $_W, $_GPC; goto qi_ur; nWHJb: return $this->result(0, ""); goto tzBKN; UnqKw: if (!is_error($withdrawResult)) { goto LAZy3; } goto PrJk_; Tlgiq: LAZy3: goto nWHJb; tzBKN: } public function doPageMapKey() { goto g8WpI; I9S0w: $map_key = $this->module["config"]["map_key"]; goto LIyHh; LIyHh: return $this->result(0, "Key", $map_key); goto f8cFD; g8WpI: global $_W; goto I9S0w; f8cFD: } public function doPageShopNearby() { goto CR2v9; jOcYH: h1TWw: goto TYgk4; cGaBE: return $this->result(1, "KEY"); goto NBgIL; CR2v9: global $_W, $_GPC; goto thi93; tDNJP: if (!($showMobile == 1)) { goto h1TWw; } goto FJn8i; CQ6_7: return $this->result(1, $areas["message"]); goto NExDV; u7N1j: $longitude = $_GPC["longitude"]; goto I2c0U; unsBH: hQWzK: goto tpqGw; NExDV: HwNyk: goto oTdfX; fNww3: if (!is_error($areas)) { goto HwNyk; } goto CQ6_7; I2c0U: $key = $this->module["config"]["map_key"]; goto Mu7wx; FJn8i: foreach ($areas as &$area) { unset($area["group_mobile"]); OLwDL: } goto unsBH; tpqGw: unset($area); goto jOcYH; oTdfX: $showMobile = $this->module["config"]["is_show_mobile"]; goto tDNJP; Mu7wx: if (!(empty($latitude) || empty($longitude) || empty($key))) { goto jHS1k; } goto cGaBE; TYgk4: return $this->result(0, "", $areas); goto ZAmWY; IdlvA: $areas = $LocationService->getAreaByLbs($latitude, $longitude, $key, $city); goto fNww3; E7dfu: $LocationService = new LocationService(); goto IdlvA; thi93: $latitude = $_GPC["latitude"]; goto u7N1j; NBgIL: jHS1k: goto E7dfu; ZAmWY: } public function doPageClockMapData() { goto bUkNa; bUkNa: $ClockService = new ClockService(); goto CmRV0; X9l3P: if (!is_error($mapData)) { goto PmCIA; } goto X8bNa; pz2gN: return $this->result(0, "", $mapData); goto aqZSG; ta7xU: PmCIA: goto pz2gN; CmRV0: $mapData = $ClockService->getClockPage(); goto X9l3P; X8bNa: return $this->result(1, $mapData["message"]); goto ta7xU; aqZSG: } public function doPageClockDetail() { goto tC382; tC382: global $_W, $_GPC; goto OcEjY; ZtgCj: $detail = $ClockService->getDetailPage($id); goto rphJM; OcEjY: $id = $_GPC["id"]; goto FX1pQ; xqGwA: return $this->result(1, $detail["message"]); goto FJOlI; FX1pQ: $ClockService = new ClockService(); goto ZtgCj; FJOlI: Bz7cw: goto a1OqY; a1OqY: return $this->result(0, "", $detail); goto C5G_i; rphJM: if (!is_error($detail)) { goto Bz7cw; } goto xqGwA; C5G_i: } public function doPageDoClock() { goto U7ClF; zUbex: $longitude = $_GPC["longitude"]; goto DsGDt; S32is: return $this->result(0, ""); goto PsFMd; S0koR: return $this->result(1, $result["message"]); goto GtunE; KE9VS: hDUsq: goto BKQji; SfpKX: if (!is_error($result)) { goto KDRV_; } goto S0koR; ifDyB: $result = $ClockService->doClockPage($clockId, $memberId, $latitude, $longitude, $mapKey, $share_image); goto SfpKX; N4SMq: $ClockService = new ClockService(); goto ifDyB; DWfmL: $Member = new Member(); goto EH8HS; UmOWE: $latitude = $_GPC["latitude"]; goto zUbex; V9h0K: if ($memberInfo) { goto hDUsq; } goto Yxb9q; KFfWg: $mapKey = $this->module["config"]["map_key"]; goto N4SMq; DsGDt: $share_image = $_GPC["share_image"]; goto DWfmL; BKQji: $memberId = $memberInfo["u_id"]; goto KFfWg; A27fX: $clockId = $_GPC["id"]; goto UmOWE; U7ClF: global $_W, $_GPC; goto A27fX; Yxb9q: return $this->result(1, ""); goto KE9VS; EH8HS: $memberInfo = $Member->getOneByOpenid($_W["openid"]); goto V9h0K; GtunE: KDRV_: goto S32is; PsFMd: } public function doPageCreditConvert() { goto j9Tdw; j9Tdw: global $_W; goto V72Mg; QAWW_: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto nHH00; pJEbB: if (!is_error($creditResult)) { goto TzVRd; } goto Z6V30; DGTdp: $globalConfig = $this->module["config"]; goto LuLAI; JxZ7Y: return $this->result(0, ""); goto TSMS_; LuLAI: $creditResult = $MemberService->creditConvert($memberInfo, $globalConfig); goto pJEbB; Bgpla: return $this->result(1, $memberInfo["message"]); goto ju7Vt; Z6V30: return $this->result(1, $creditResult["message"]); goto mIxtX; V72Mg: $MemberService = new MemberService(); goto QAWW_; nHH00: if (!is_error($memberInfo)) { goto UIUMa; } goto Bgpla; ju7Vt: UIUMa: goto DGTdp; mIxtX: TzVRd: goto JxZ7Y; TSMS_: } public function doPageBalancePay() { goto HhB6o; HhB6o: global $_W, $_GPC; goto tjzIy; UD734: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto ewDI_; Kyot9: Kg9AZ: goto z7NYh; tjzIy: $fee = $_GPC["fee"]; goto ZeGB1; ysPVY: $PayResultService = new PayResultService($globalConfig); goto yyLH0; TZjLo: $orderResult = $PayResultService->payResult($params); goto yDCaj; z7NYh: $payResult = $MemberService->balancePay($memberInfo, $fee); goto EzA8M; rKwTx: $MemberService = new MemberService(); goto UD734; skktW: $params["tag"]["transaction_id"] = ''; goto GPtV8; ewDI_: if (!is_error($memberInfo)) { goto Kg9AZ; } goto ZaJR2; Otq7w: $params["from"] = "notify"; goto TZjLo; Zsz6G: return $this->result(1, $orderResult["message"]); goto jkdos; k7aEI: $globalConfig = $this->module["config"]; goto ysPVY; ZeGB1: $code = $_GPC["code"]; goto rKwTx; ZaJR2: return $this->result(1, $memberInfo["message"]); goto Kyot9; jkdos: ZuPsk: goto cqMHj; yDCaj: if (!is_error($orderResult)) { goto ZuPsk; } goto Zsz6G; EzA8M: if (!is_error($payResult)) { goto UiaYw; } goto tHcse; tHcse: return $this->result(1, $payResult["message"]); goto JXIHn; yyLH0: $params["tid"] = $code; goto skktW; cqMHj: return $this->result(0, ""); goto J20cA; JXIHn: UiaYw: goto k7aEI; GPtV8: $params["result"] = "success"; goto Otq7w; J20cA: } public function doPageCardInfo() { goto kxZ0s; cU5zm: return $this->result(0, "", $cardInfo); goto TjRoy; EFM5J: $cardInfo = $CardService->hasCard($memberInfo["u_id"]); goto XHJ7S; Y7LQj: ukCPZ: goto LsdVb; xxYGR: if (!(time() - $cardInfo["card_refresh_time"] > $refreshTime)) { goto qVFFC; } goto At1y8; fasgz: $FormatService = new FormatService(); goto q5RxY; EJRxa: KbjxU: goto aBYln; Zni12: if (!is_error($memberInfo)) { goto ukCPZ; } goto KQou9; ebJpp: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto Zni12; GAqBx: $refreshTime = empty($configTime) ? 3600 : $configTime * 60; goto xxYGR; aBYln: if (!($globalConfig["card_type"] == 1 && $cardInfo["card_times"] == 0)) { goto D7gFi; } goto PSeAD; N3rzV: $MemberService = new MemberService(); goto ebJpp; PSeAD: $cardInfo["expireAlert"] = 1; goto Tz3zf; q5RxY: $globalConfig = $this->module["config"]; goto ocw2z; FvuV8: $cardInfo["card_type_name"] = $cardInfo["globalConfig"]["card_identity_type_name_array"][$cardInfo["card_type"]]; goto U9tVJ; sFAmJ: return $this->result(1, $cardInfo["message"]); goto of6ob; At1y8: $cardInfo["card_code"] = $CardService->refreshCode($cardInfo["card_id"], $memberInfo["u_id"]); goto RVR8K; RVR8K: qVFFC: goto fasgz; ocw2z: $cardInfo["globalConfig"] = $FormatService->formatGlobalConfig($globalConfig); goto FvuV8; KQou9: return $this->result(1, $memberInfo["message"]); goto Y7LQj; of6ob: JzbmT: goto v62X_; XHJ7S: if (!is_error($cardInfo)) { goto JzbmT; } goto sFAmJ; G6Qye: $cardInfo["expireAlert"] = 1; goto EJRxa; Tz3zf: D7gFi: goto cU5zm; U9tVJ: if (!($globalConfig["card_type"] == 0 && strtotime($cardInfo["card_expire_time"]) < time())) { goto KbjxU; } goto G6Qye; LsdVb: $CardService = new CardService(); goto EFM5J; v62X_: $configTime = $this->module["config"]["card_refresh_time"]; goto GAqBx; kxZ0s: global $_W, $_GPC; goto N3rzV; TjRoy: } public function doPageCardApply() { goto ugaVi; a_9sO: Fdc4G: goto tI1wj; UkbtM: $MemberService = new MemberService(); goto Qr20m; UTrjJ: vv8vQ: goto R548C; z0rO1: if (is_error($cardInfo)) { goto Fdc4G; } goto aCSiM; Nrhgf: return $this->result(0, ""); goto DW3NX; aCSiM: return $this->result(1, ""); goto a_9sO; EnfXZ: return $this->result(1, $addResult["message"]); goto Cjn5V; snYGP: return $this->result(1, $memberInfo["message"]); goto UTrjJ; bVayW: $addResult = $CardService->addCard($memberInfo["u_id"], $_GPC, $globalConfig); goto EOZr_; Cjn5V: FppzV: goto Nrhgf; EOZr_: if (!is_error($addResult)) { goto FppzV; } goto EnfXZ; ugaVi: global $_W, $_GPC; goto UkbtM; JGnj_: $cardInfo = $CardService->hasCard($memberInfo["u_id"]); goto z0rO1; RPd1R: if (!is_error($memberInfo)) { goto vv8vQ; } goto snYGP; tI1wj: $globalConfig = $this->module["config"]; goto bVayW; Qr20m: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto RPd1R; R548C: $CardService = new CardService(); goto JGnj_; DW3NX: } public function doPageCardRecharge() { goto a0qbI; NPmwJ: $result = $PayLogService->addRechargeLog($fee, $_W["openid"], $cardId); goto Dik6i; yOIZK: $MemberService = new MemberService(); goto WW6FP; adJhE: YL50c: goto O55Rd; aPcOA: FQOA_: goto XOhwy; O55Rd: return $this->result(0, "", $result); goto bHsmM; PQhR5: if (!is_error($memberInfo)) { goto FQOA_; } goto bipSQ; sQNN8: $fee = $_GPC["fee"]; goto H74JG; H74JG: $PayLogService = new PayLogService(); goto NPmwJ; Dik6i: if (!is_error($result)) { goto YL50c; } goto caWT1; a0qbI: global $_W, $_GPC; goto yOIZK; bipSQ: return $this->result(1, $memberInfo["message"]); goto aPcOA; XOhwy: $cardId = $_GPC["cardId"]; goto sQNN8; WW6FP: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto PQhR5; caWT1: return $this->result(1, $result["message"]); goto adJhE; bHsmM: } public function doPageCardAudit() { goto XlJPn; MqQT0: $cardId = $_GPC["cardId"]; goto JYlVa; bDOe2: return $this->result(1, $memberInfo["message"]); goto qVqTj; eaW6m: $PayLogService = new PayLogService(); goto TMFNW; TMFNW: $result = $PayLogService->addAuditLog($fee, $_W["openid"], $cardId); goto nD7DJ; fYiKR: return $this->result(1, $result["message"]); goto O668X; HrFxZ: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto c6i7B; XlJPn: global $_W, $_GPC; goto aSxxy; aSxxy: $MemberService = new MemberService(); goto HrFxZ; c6i7B: if (!is_error($memberInfo)) { goto ArnzO; } goto bDOe2; qVqTj: ArnzO: goto MqQT0; O668X: hWOPV: goto ppqWH; nD7DJ: if (!is_error($result)) { goto hWOPV; } goto fYiKR; ppqWH: return $this->result(0, "", $result); goto ZdIk3; JYlVa: $fee = $_GPC["fee"]; goto eaW6m; ZdIk3: } public function doPageCardAuditFinish() { goto qd0Oh; m3z4R: $auditResult = $CardService->auditCardHandler($cardId); goto y7VIC; DcA0m: $cardId = $_GPC["cardId"]; goto iOWcP; cKn2I: if (!is_error($memberInfo)) { goto TfiCX; } goto vTUN7; sP1Zw: TfiCX: goto DcA0m; Fh27z: return $this->result(1, $auditResult["message"]); goto QdWAD; qd0Oh: global $_W, $_GPC; goto HdTkR; iOWcP: $CardService = new CardService(); goto m3z4R; q0d0y: return $this->result(0, ""); goto AYIXE; QdWAD: oTdJS: goto q0d0y; JiKCu: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto cKn2I; vTUN7: return $this->result(1, $memberInfo["message"]); goto sP1Zw; y7VIC: if (!is_error($auditResult)) { goto oTdJS; } goto Fh27z; HdTkR: $MemberService = new MemberService(); goto JiKCu; AYIXE: } public function doPageCardWithdraw() { goto BWV2f; E2tPR: AfJgq: goto Ctphz; Ctphz: return $this->result(0, ""); goto aSV8I; Llc5w: if (!is_error($withdrawResult)) { goto AfJgq; } goto hGbX2; gYkDI: $withdrawResult = $CardService->withdraw($cardId); goto Llc5w; Cg6Nv: $cardId = $_GPC["cardId"]; goto uWzKJ; BWV2f: global $_W, $_GPC; goto Cg6Nv; uWzKJ: $CardService = new CardService(); goto gYkDI; hGbX2: return $this->result(1, $withdrawResult["message"]); goto E2tPR; aSV8I: } public function doPageMapMarker() { goto eN01K; PMPov: return $this->result(1, $markers["message"]); goto p3Qmj; gd4LP: return $this->result(0, "", $markers); goto GQurT; eN01K: $MapMarkerService = new MapMarkerService(); goto JmaPm; p3Qmj: jKDL9: goto gd4LP; UGmLx: if (!is_error($markers)) { goto jKDL9; } goto PMPov; JmaPm: $markers = $MapMarkerService->getOnLineMarkerByAreaCategory($_GET["areaId"], $_GET["categoryId"]); goto UGmLx; GQurT: } public function doPageMapNearbyMarker() { goto oGFeF; JUlek: $markers = $MapMarkerService->getNearbyMarker($_GET["areaId"], $_GET["categoryId"], $_GET["latitude"], $_GET["longitude"], $globalConfig["map_key"], $lowMarkerTotal); goto RofiA; ZsEfB: QJET3: goto ipfh9; RofiA: if (!is_error($markers)) { goto QJET3; } goto rsEW3; rsEW3: return $this->result(1, $markers["message"]); goto ZsEfB; oGFeF: $globalConfig = $this->module["config"]; goto AhVGt; ipfh9: return $this->result(0, "", $markers); goto jbIj4; MsXWk: $MapMarkerService = new MapMarkerService(); goto JUlek; AhVGt: $lowMarkerTotal = $globalConfig["map_nearby_max"] > 0 ? $globalConfig["map_nearby_max"] : 10; goto MsXWk; jbIj4: } public function doPageMapSearchMarker() { goto wtA2w; yp_kW: $markers = $MapMarkerService->getSearchMarker($_GET["areaId"], $_GET["categoryId"], $_GET["key"]); goto FYNLV; i4BT5: souHm: goto odvDq; FYNLV: if (!is_error($markers)) { goto souHm; } goto ahq_q; odvDq: return $this->result(0, "", $markers); goto JNmnB; wtA2w: $MapMarkerService = new MapMarkerService(); goto yp_kW; ahq_q: return $this->result(1, $markers["message"]); goto i4BT5; JNmnB: } public function doPageMapAreaCategory() { goto xMv3Q; dxSSN: Pt2mH: goto widGX; jSjBK: $MapCategoryService = new MapCategoryService(); goto jQfUi; widGX: $data = array("area" => $areaList, "category" => $categoryList); goto w7PiD; ohN50: if (!is_error($areaList)) { goto t_2pu; } goto wQEqN; o4CcN: $areaList = $MapAreaService->getOnLineArea(); goto ohN50; n1p6i: return $this->result(1, $categoryList["message"]); goto dxSSN; w7PiD: return $this->result(0, "", $data); goto yuxSW; xMv3Q: $MapAreaService = new MapAreaService(); goto o4CcN; nFNh3: if (!is_error($categoryList)) { goto Pt2mH; } goto n1p6i; wQEqN: return $this->result(1, $areaList["message"]); goto IIMCi; IIMCi: t_2pu: goto jSjBK; jQfUi: $categoryList = $MapCategoryService->getOnLineCategory(); goto nFNh3; yuxSW: } public function doPageMapDistance() { goto l179y; mr2DP: $QQLbs = new QQLbs(); goto Tj1xP; pn5Rx: return $this->result(0, "", $distance); goto XerA1; ZXZ__: autoload()->classes("QQLbs"); goto mr2DP; aguQT: return $this->result(1, $distance["message"]); goto hiaNi; Tj1xP: $distance = $QQLbs->getSingleDistance($_GPC["latitude"], $_GPC["longitude"], $_GPC["targetLatitude"], $_GPC["targetLongitude"], $key); goto cMETE; hiaNi: ZT8RG: goto pn5Rx; cMETE: if (!is_error($distance)) { goto ZT8RG; } goto aguQT; GNd6s: $key = $this->module["config"]["map_key"]; goto ZXZ__; l179y: global $_GPC; goto GNd6s; XerA1: } public function doPageMyCoupon() { goto Y_pb8; uO7wp: return $this->result(1, $memberId["message"]); goto KbD8G; eoj30: $coupons = $CouponService->myCouponByMemberIdTypePage($memberId, $type, $page); goto d7zcw; ZmFTj: qM0Vl: goto s3Y0p; nRaSK: return $this->result(1, $coupons["message"]); goto ZmFTj; CPYls: $CouponService = new CouponService(); goto eoj30; Ig9LJ: if (!is_error($memberId)) { goto Qb26z; } goto uO7wp; xpWSf: $memberId = $MemberService->getMemberIdByOpenid($_W["openid"]); goto Ig9LJ; umJrB: $MemberService = new MemberService(); goto xpWSf; g83sV: $type = $_GPC["type"]; goto TxV0C; TxV0C: $page = $_GPC["page"]; goto umJrB; s3Y0p: return $this->result(0, "", $coupons); goto nN50V; d7zcw: if (!is_error($coupons)) { goto qM0Vl; } goto nRaSK; Y_pb8: global $_W, $_GPC; goto g83sV; KbD8G: Qb26z: goto CPYls; nN50V: } public function doPageCouponList() { goto oibDC; BG78U: if (!is_error($coupons)) { goto NvREx; } goto QLXec; CY6TN: if (!is_error($memberId)) { goto knOkz; } goto FZ8eA; s4esd: knOkz: goto fTYD8; NG9zp: $MemberService = new MemberService(); goto rEBPD; KtE2a: NvREx: goto JAPhc; FZ8eA: return $this->result(1, $memberId["message"]); goto s4esd; pQeQu: $coupons = $CouponService->allowCouponByMemberIdPage($memberId, $_W["uniacid"], $page); goto BG78U; Xq37T: $page = $_GPC["page"]; goto NG9zp; rEBPD: $memberId = $MemberService->getMemberIdByOpenid($_W["openid"]); goto CY6TN; fTYD8: $CouponService = new CouponService(); goto pQeQu; oibDC: global $_W, $_GPC; goto Xq37T; QLXec: return $this->result(1, $coupons["message"]); goto KtE2a; JAPhc: return $this->result(0, "", $coupons); goto A1LUe; A1LUe: } public function doPageCouponSelect() { goto jwDbN; Y_E0I: $page = $_GPC["page"]; goto nEBjq; QSNm8: PpFC1: goto b6oHM; jwDbN: global $_W, $_GPC; goto iYibg; iYibg: $fee = $_GPC["fee"]; goto Y_E0I; S6TLp: return $this->result(1, $memberId["message"]); goto xUyd1; LRHl2: $memberId = $MemberService->getMemberIdByOpenid($_W["openid"]); goto vaN3n; vaN3n: if (!is_error($memberId)) { goto aUMMf; } goto S6TLp; eJdGL: $CouponService = new CouponService(); goto JNqme; nEBjq: $MemberService = new MemberService(); goto LRHl2; xUyd1: aUMMf: goto eJdGL; bv5ik: return $this->result(1, $coupons["message"]); goto QSNm8; QdnJ3: if (!is_error($coupons)) { goto PpFC1; } goto bv5ik; b6oHM: return $this->result(0, "", $coupons); goto O5bBd; JNqme: $coupons = $CouponService->myCouponByMemberIdTypePage($memberId, 1, $page, true, $fee); goto QdnJ3; O5bBd: } public function doPageCouponReceive() { goto pqCYC; vVwLG: $couponId = $_GPC["couponId"]; goto wPU9t; E02t9: if (!is_error($receiveResult)) { goto OkU_A; } goto zBo4A; ve0PJ: WZcAA: goto rC7eu; bubAr: return $this->result(1, $memberId["message"]); goto ve0PJ; pqCYC: global $_W, $_GPC; goto vVwLG; WUDAL: return $this->result(0, ""); goto zohVk; n91nn: $memberId = $MemberService->getMemberIdByOpenid($_W["openid"]); goto NVxfj; NVxfj: if (!is_error($memberId)) { goto WZcAA; } goto bubAr; wPU9t: $MemberService = new MemberService(); goto n91nn; nUI0p: $receiveResult = $CouponService->sendCouponToMember($memberId, $couponId); goto E02t9; rC7eu: $CouponService = new CouponService(); goto nUI0p; FbQoJ: OkU_A: goto WUDAL; zBo4A: return $this->result(1, $receiveResult["message"]); goto FbQoJ; zohVk: } public function doPageMemberCouponInfo() { goto vo8IE; bbRw7: $couponInfo = $CouponService->getMemberCouponInfo($couponId); goto E616u; E616u: if (!is_error($couponInfo)) { goto GswIT; } goto CG800; m5gOC: GswIT: goto kttA8; CG800: return $this->result(1, $couponInfo["message"]); goto m5gOC; z2Q3E: $couponId = $_GPC["couponId"]; goto fwJsT; vo8IE: global $_W, $_GPC; goto z2Q3E; fwJsT: $CouponService = new CouponService(); goto bbRw7; kttA8: return $this->result(0, "", $couponInfo); goto FnaAk; FnaAk: } public function doPageCouponUsableList() { goto UpBKb; juAvf: EE5hR: goto w0mqa; oggFH: nen82: goto JKx9v; TEPRV: if (is_error($couponList)) { goto nen82; } goto IDRq9; iPPnE: $MemberService = new MemberService(); goto P1re6; cF_T3: $data["grade"] = array(); goto w8UDM; o2XEI: return $this->result(1, $memberInfo["message"]); goto jFQWF; w8UDM: if (!empty($_GPC["productList"])) { goto w09zH; } goto Ns997; ZvSMx: $MemberGradeService = new MemberGradeService(); goto NuTxh; Uqs9n: $productList = json_decode(htmlspecialchars_decode($_GPC["productList"]), true); goto n8kP3; Ns997: return $this->result(1, ""); goto Jvv_n; qF8tl: $data["grade"] = $gradeInfo; goto juAvf; uwcqV: if (!$gradeInfo) { goto EE5hR; } goto qF8tl; JKx9v: if (!($memberInfo["u_grade"] > 0)) { goto iobwV; } goto ZvSMx; xrEg3: return $this->result(0, "", $data); goto moM3P; IDRq9: $data["all"] = $couponList["all"]; goto FdkBG; jFQWF: pcBNv: goto WlX49; b3AWy: $data["product"] = array(); goto cF_T3; Jvv_n: w09zH: goto iPPnE; P1re6: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto hYJKg; tYrUd: $couponList = $CouponService->getUsableCouponByProductArray($memberId, $productList); goto TEPRV; WlX49: $memberId = $memberInfo["u_id"]; goto Uqs9n; NuTxh: $gradeInfo = $MemberGradeService->getGradeInfo($memberInfo["u_grade"]); goto uwcqV; gGW83: $data["all"] = array(); goto b3AWy; hYJKg: if (!is_error($memberInfo)) { goto pcBNv; } goto o2XEI; w0mqa: iobwV: goto xrEg3; haVbG: $data = array(); goto gGW83; FdkBG: $data["product"] = $couponList["product"]; goto oggFH; n8kP3: $CouponService = new CouponService(); goto tYrUd; UpBKb: global $_W, $_GPC; goto haVbG; moM3P: } public function doPageZhuanPanReward() { goto VGeJS; aWTJW: $globalConfig = $this->module["config"]; goto CmNAQ; V41Yf: return $this->result(1, $rewardList["message"]); goto VgBlf; Nx_ja: $data["globalConfig"] = array("enable" => $globalConfig["enable_zhuanpan"], "credit" => $globalConfig["zhuanpan_credit"], "remark" => $globalConfig["zhuanpan_remark"], "rule" => htmlspecialchars_decode($globalConfig["zhuanpan_rule"])); goto IITVW; ngDD3: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto D5Buv; ECgTy: $data["awards"] = $rewardList; goto lvVqy; AASzP: $data["id"] = 0; goto aWTJW; lvVqy: return $this->result(0, "", $data); goto hODZh; P1TzY: $data["times"] = $times; goto mzIDj; BGgEC: $rewardList = $RewardService->getOnlineList(); goto qiDyu; oYhR9: J3_00: goto yb4Nf; bDqjx: $data = array(); goto AASzP; D5Buv: if (!is_error($memberInfo)) { goto J3_00; } goto PkeMt; CmNAQ: $data["option"] = $globalConfig["zhuanpan_name"]; goto Nx_ja; IITVW: $times = floor($memberInfo["u_credit"] / $globalConfig["zhuanpan_credit"]); goto P1TzY; VGeJS: global $_W; goto Pk_sM; VgBlf: cVmPE: goto bDqjx; PkeMt: return $this->result(1, $memberInfo["message"]); goto oYhR9; yb4Nf: $RewardService = new ZhuanPanRewardService(); goto BGgEC; mzIDj: $data["useable"] = $times >= 1 ? true : false; goto ECgTy; Pk_sM: $MemberService = new MemberService(); goto ngDD3; qiDyu: if (!is_error($rewardList)) { goto cVmPE; } goto V41Yf; hODZh: } public function doPageZhuanPanAddReward() { goto c92OV; gL4zA: $LuckyService = new ZhuanPanLuckyService(); goto cTHPU; FSDSe: xGUm2: goto fmg_g; cTHPU: $luckyResult = $LuckyService->handleLucky($memberInfo["u_id"], $rewardId, $credit); goto EZJMm; EZJMm: if (!is_error($luckyResult)) { goto xGUm2; } goto Lf_P1; et52R: $rewardId = $_GPC["rewardId"]; goto tMD3P; gAtxN: if (!is_error($memberInfo)) { goto InwtE; } goto UtQim; UtQim: return $this->result(1, $memberInfo["message"]); goto UhEGv; fmg_g: return $this->result(0, ""); goto CVHLv; tMD3P: $credit = $this->module["config"]["zhuanpan_credit"]; goto gL4zA; UhEGv: InwtE: goto et52R; c92OV: global $_W, $_GPC; goto k6qt7; Lf_P1: return $this->result(1, $luckyResult["message"]); goto FSDSe; k6qt7: $MemberService = new MemberService(); goto GA2gc; GA2gc: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto gAtxN; CVHLv: } public function doPageZhuanPanLuckyList() { goto n1_V8; fU3gC: return $this->result(1, $data["message"]); goto eVC4U; fOL3_: $pageIndex = $_GPC["page"]; goto UtKR_; QQPNL: if (!is_error($data)) { goto ws_oO; } goto fU3gC; n1_V8: global $_W, $_GPC; goto fOL3_; qUQoJ: return $this->result(0, "", $data["list"]); goto TkMl6; S1kij: $data = $LuckyService->getLuckyByPage(array(), $pageIndex); goto QQPNL; eVC4U: ws_oO: goto qUQoJ; UtKR_: $LuckyService = new ZhuanPanLuckyService(); goto S1kij; TkMl6: } public function doPageZhuanPanMyLucky() { goto PQc2F; YQmbI: $LuckyService = new ZhuanPanLuckyService(); goto XyYJg; PQc2F: global $_W, $_GPC; goto UiKD6; tDHyD: return $this->result(1, $data["message"]); goto GqTxX; q_ATB: return $this->result(1, $memberInfo["message"]); goto F3kz0; UiKD6: $pageIndex = $_GPC["page"]; goto a1jp0; Jsran: if (!is_error($data)) { goto h0cSL; } goto tDHyD; a1jp0: $MemberService = new MemberService(); goto FlMI3; SAxc4: if (!is_error($memberInfo)) { goto Nt3EE; } goto q_ATB; mVs7K: return $this->result(0, "", $data["list"]); goto wdnVY; GqTxX: h0cSL: goto mVs7K; F3kz0: Nt3EE: goto YQmbI; FlMI3: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto SAxc4; XyYJg: $data = $LuckyService->getMyLucky($memberInfo["u_id"], $pageIndex); goto Jsran; wdnVY: } public function doPageLiveRoom() { goto YdEWa; vJpwi: UDSYW: goto YUEuY; YdEWa: global $_W; goto vacVf; tmp_c: return $this->result(0, $roomList["message"]); goto vJpwi; vacVf: $LiveService = new LiveService(); goto h9NJg; Jw0rz: if (!is_error($roomList)) { goto UDSYW; } goto tmp_c; YUEuY: return $this->result(0, "", $roomList); goto PItTB; h9NJg: $roomList = $LiveService->readRoomList($this->module["config"]["live_room_cache_time"]); goto Jw0rz; PItTB: } public function doPageSubscribeIds() { goto uq7r8; QhSBq: $SubscribeMessageService = new SubscribeMessageService(); goto KKUg8; H9BfX: if (!is_error($messageList)) { goto o0ESK; } goto bVHYL; ffiyk: o0ESK: goto HDG0B; bVHYL: return $this->result(1, $messageList["message"]); goto ffiyk; HDG0B: return $this->result(0, "", $messageList); goto ZEo8r; KKUg8: $messageList = $SubscribeMessageService->getSubscribeTemplateIds($globalConfig); goto H9BfX; uq7r8: $globalConfig = $this->module["config"]; goto QhSBq; ZEo8r: } public function doPageUpdateMember() { goto uPRs2; xUiM4: $updateResult = $MemberService->updateMemberByOpenid($_W["openid"], $_GPC); goto FYh6m; gLY5q: return $this->result(1, $updateResult["message"]); goto CNgg7; FYh6m: if (!is_error($updateResult)) { goto W7Xu3; } goto gLY5q; CNgg7: W7Xu3: goto I2fI2; I2fI2: return $this->result(0, ""); goto HIccL; Kkjc6: $MemberService = new MemberService(); goto xUiM4; uPRs2: global $_W, $_GPC; goto Kkjc6; HIccL: } public function doPageActivityList() { goto yaAT0; fcB9D: $list = $ActivityService->getAllAppActivity(); goto ie2h_; DfoH0: return $this->result(0, "", $list); goto xCdit; yaAT0: $ActivityService = new ActivityService(); goto fcB9D; cx3GN: wutOm: goto DfoH0; ie2h_: if (!is_error($list)) { goto wutOm; } goto SvnE4; SvnE4: return $this->result(1, $list["message"]); goto cx3GN; xCdit: } public function doPageActivityTime() { goto yNfRn; AfsqL: return $this->result(0, "", $time); goto LzXUF; nFm6D: $day = $_GPC["day"]; goto zLtiD; wKVpO: return $this->result(1, $time["message"]); goto PrNhy; HeXyI: if (!is_error($time)) { goto o9bGW; } goto wKVpO; yNfRn: global $_GPC; goto MgwGg; MmqAB: $time = $ActivityService->getAppActivityTime($activityId, $day); goto HeXyI; PrNhy: o9bGW: goto AfsqL; MgwGg: $activityId = $_GPC["id"]; goto nFm6D; zLtiD: $ActivityService = new ActivityService(); goto MmqAB; LzXUF: } public function doPageActivityOrder() { goto AKgZN; AKgZN: global $_W, $_GPC; goto ZEYg3; fYTtG: gFTy_: goto YZFMM; wPr6l: if (!is_error($memberInfo)) { goto gFTy_; } goto OOp02; gwvnt: $MemberService = new MemberService(); goto TJTHB; TJTHB: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto wPr6l; P2y8i: if (!is_error($orderResult)) { goto fssF6; } goto fWlRV; GvU3z: fssF6: goto AqMyf; YZFMM: $ActivityService = new ActivityService(); goto SIVVv; OOp02: return $this->result(1, $memberInfo["message"]); goto fYTtG; SIVVv: $orderResult = $ActivityService->addActivityOrder($_GPC["id"], $_GPC["day"], $_GPC["time"], $touristList, $_GPC["mobile"], $memberInfo["u_id"]); goto P2y8i; ZEYg3: $touristList = json_decode(htmlspecialchars_decode($_GPC["touristList"]), true); goto gwvnt; fWlRV: return $this->result(1, $orderResult["message"]); goto GvU3z; AqMyf: return $this->result(0, "", $orderResult); goto MOYw1; MOYw1: } public function doPageActivityMyOrder() { goto E5msy; H5WP8: GP7Cb: goto BYrBx; E5msy: global $_W, $_GPC; goto KiPpR; AdmxX: if (!is_error($memberInfo)) { goto Ddhz1; } goto lHR9M; KiPpR: $MemberService = new MemberService(); goto QFwQI; RjsNS: Ddhz1: goto l_OgC; c9I8S: $orderList = $ActivityOrderService->getAppMyOrderList($memberInfo["u_id"], $_GPC["page"]); goto tmyNv; QFwQI: $memberInfo = $MemberService->getMemberInfo($_W["openid"]); goto AdmxX; lHR9M: return $this->result(1, $memberInfo["message"]); goto RjsNS; BYrBx: return $this->result(0, "", $orderList); goto iBO6R; b179e: return $this->result(1, $orderList["message"]); goto H5WP8; l_OgC: $ActivityOrderService = new ActivityOrderService(); goto c9I8S; tmyNv: if (!is_error($orderList)) { goto GP7Cb; } goto b179e; iBO6R: } public function doPageActivityOrderDetail() { goto EZkkk; nQkXj: $orderDetail = $ActivityOrderService->getAppOrderDetail($_GPC["id"]); goto TnXNV; CCgL0: qEgbL: goto Mp_Um; TnXNV: if (!is_error($orderDetail)) { goto qEgbL; } goto n8f_x; n_H9U: $ActivityOrderService = new ActivityOrderService(); goto nQkXj; n8f_x: return $this->result(1, $orderDetail["message"]); goto CCgL0; EZkkk: global $_GPC; goto n_H9U; Mp_Um: return $this->result(0, "", $orderDetail); goto L5xt3; L5xt3: } public function doPageActivityCancelTourist() { goto rMOqp; b04Xg: return $this->result(0, "", $_GPC["id"]); goto uQaVt; TEjZR: c54bC: goto b04Xg; W3MXK: return $this->result(1, $cancelResult["message"]); goto TEjZR; PldFB: $cancelResult = $ActivityTouristService->cancelTourist($_GPC["id"]); goto YtMgN; CyxZS: $ActivityTouristService = new ActivityTouristService(); goto PldFB; rMOqp: global $_GPC; goto CyxZS; YtMgN: if (!is_error($cancelResult)) { goto c54bC; } goto W3MXK; uQaVt: } public function doPageShopNewOrder() { goto tB8ya; dw9gD: $list = $OrderService->getShopNewOrderByPage($shopId, $page); goto eZxnW; tB8ya: global $_GPC; goto P1ODh; cskHe: gTE5c: goto ectz6; P1ODh: $shopId = $_GPC["shopId"]; goto Gw0VS; eZxnW: if (!is_error($list)) { goto gTE5c; } goto O59Dj; jxKot: $OrderService = new OrderService(); goto dw9gD; Gw0VS: $page = $_GPC["page"]; goto jxKot; O59Dj: return $this->result(1, $list["message"]); goto cskHe; ectz6: return $this->result(0, "", $list); goto MmxYB; MmxYB: } } ?>
Did this file decode correctly?
Original Code
<?php
goto jzOJi; jzOJi: defined("\x49\x4e\137\111\101") or exit("\101\x63\143\145\163\163\x20\x44\145\156\151\145\x64"); goto IaHKs; IaHKs: error_reporting(0); goto Luc57; Luc57: class Hawk_multiShopModuleWxapp extends WeModuleWxapp { public function __construct() { goto PmoGL; NTgku: $InitService = new InitService(); goto jYPa7; WMZ02: include IA_ROOT . "\x2f\x61\x64\x64\x6f\x6e\163\x2f\150\141\x77\x6b\x5f\x6d\x75\x6c\164\151\x73\x68\157\160\x2f\163\145\x72\x76\151\x63\x65\57\x49\156\151\164\123\x65\162\166\x69\x63\145\56\160\150\x70"; goto mF6Xz; jYPa7: $InitService->run(); goto KvtqJ; mF6Xz: autoload(); goto NTgku; PmoGL: include IA_ROOT . "\57\141\x64\x64\157\156\x73\57\x68\141\x77\153\137\155\165\x6c\x74\x69\x73\150\x6f\160\57\146\165\156\143\x2f\141\165\164\x6f\x6c\x6f\141\144\x2e\146\x75\156\143\56\x70\x68\160"; goto WMZ02; KvtqJ: } public function doPageTest() { goto B5rh3; VAna_: $message = "\346\x99\257\345\214\xba"; goto dvrTA; PS1KO: $errno = 0; goto VAna_; B5rh3: global $_GPC, $_W; goto PS1KO; dvrTA: return $this->result($errno, $message, "\xe6\xb5\x8b\350\257\225\xe6\x88\x90\345\212\x9f"); goto UjIjU; UjIjU: } public function doPageSquare() { goto at3fU; ETbi1: $data["\x67\154\x6f\x62\141\x6c\103\x6f\156\x66\x69\x67"] = $globalConfig; goto rPyln; j_FhY: $data["\x6d\145\156\165"] = $menu; goto J6DZX; VxGvT: return $this->result(1, "\345\271\xbf\xe5\221\212\344\275\215\345\x8a\240\350\xbd\xbd\345\244\xb1\xe8\xb4\xa5"); goto XmTO_; J1lU0: $ProductService = new ProductService(); goto iPtyD; Mk5a8: $globalConfig = $this->module["\143\x6f\x6e\146\x69\147"]; goto ndv_i; QMorN: foreach ($advInfo as $k => $v) { goto Jv9n4; ZnrVA: $menuItem = $v; goto Lju1o; Jv9n4: $v["\x74\150\165\x6d\142"] = tomedia($v["\164\x68\x75\x6d\142"]); goto Fl2Gp; WnPjb: $bannerItem = $v; goto UM7CZ; URhJ1: $imgUrlsItem = $v; goto Px_sS; nXgjH: OvHwT: goto jqPOm; Z1hzZ: if (!($v["\164\171\160\x65"] == 0)) { goto QqiPC; } goto URhJ1; jqPOm: if (!($v["\164\171\x70\x65"] == 2)) { goto iN_qd; } goto WnPjb; YJTbV: W3iKN: goto LcpoQ; KNbjx: iN_qd: goto YJTbV; Lju1o: $menu[] = $menuItem; goto nXgjH; ft7x1: QqiPC: goto U4u6q; U4u6q: if (!($v["\164\171\x70\145"] == 1)) { goto OvHwT; } goto ZnrVA; Fl2Gp: $v["\153\x65\171"] = $v["\x6c\x69\x6e\153"]; goto Z1hzZ; UM7CZ: $banner[] = $bannerItem; goto KNbjx; Px_sS: $imgUrls[] = $imgUrlsItem; goto ft7x1; LcpoQ: } goto klU2e; U65Pa: $data["\x70\162\157\144\x75\143\x74"] = is_error($indexProductList) ? '' : $indexProductList; goto ksbZp; FeNT8: $data["\142\141\x6e\156\145\162"] = $banner; goto J1lU0; ufFkv: $globalConfig = $FormatService->formatGlobalConfig($globalConfig); goto ETbi1; g18nL: $data["\146\x6c\x61\x73\150"] = is_error($flashList) ? '' : $flashList; goto Mk5a8; i1tHR: $imgUrls = array(); goto ei2vF; Hv4PN: $advInfo = pdo_getall("\x68\x6d\165\154\164\x69\163\x68\x6f\160\137\x61\x64\166\145\162", array("\145\x6e\141\142\154\x65\x64" => 1, "\165\x6e\151\141\x63\151\144" => $_W["\165\156\x69\141\143\151\x64"]), array(), '', "\144\x69\x73\x70\154\x61\x79\x6f\x72\x64\x65\162\40\x44\105\123\103"); goto ltaQQ; ksbZp: $flashList = $ProductService->flashListByPageSize(); goto g18nL; zsAuG: return $this->result(0, "\345\212\240\xe8\275\275\346\x88\220\345\x8a\x9f", $data); goto FxBHs; ei2vF: $menu = array(); goto WlSdM; XmTO_: N0neY: goto i1tHR; klU2e: VwNnQ: goto j_FhY; rPyln: $data["\155\x6f\144\x75\154\x65\x4c\x69\163\164"] = $globalConfig["\155\157\x64\165\x6c\x65\114\x69\x73\x74"]; goto zsAuG; at3fU: global $_GPC, $_W; goto V0uoP; V0uoP: $data = array(); goto Hv4PN; WlSdM: $banner = array(); goto QMorN; ltaQQ: if ($advInfo) { goto N0neY; } goto VxGvT; ndv_i: $FormatService = new FormatService(); goto ufFkv; iPtyD: $indexProductList = $ProductService->IndexPositionProductList(); goto U65Pa; J6DZX: $data["\151\155\147\x55\162\154\x73"] = $imgUrls; goto FeNT8; FxBHs: } public function doPageDetail() { goto hPxEq; QrmU_: $filters = array(); goto Oai6v; uPmYK: if (!$ds["\x70\x72\x6f\137\x67\x72\157\165\160\137\157\x6e\x6c\151\x6e\x65"]) { goto bqNgs; } goto FWiTn; gW50D: boeHJ: goto zsb66; OyHch: O19dd: goto onL7w; FBirM: $groupArray = $Group->getAllByPage($filters, $pageIndex, $pageSize, $total, "\147\162\157\x75\x70\137\143\162\x65\141\x74\145\x74\151\x6d\x65\x20\x44\x45\x53\x43"); goto n2Yym; WoNP0: $shareResult = share_handler($_W["\157\160\145\156\151\x64"], $_GPC["\165\137\x66\x72\x6f\155"], $ds["\x70\162\x6f\x5f\x63\157\144\145"], $ds["\x70\162\x6f\x5f\163\150\x61\162\145\137\143\157\151\x6e"], 1); goto WVZxE; unVX4: j3EP4: goto yX2OS; kzssb: $newBuyer = array(); goto n4Pd0; yX2OS: $enable_coin = $this->module["\143\157\x6e\146\151\x67"]["\145\156\141\142\154\x65\137\x63\157\151\x6e"]; goto uVkZt; WxYKZ: if (!is_array($newOrder)) { goto wm3m_; } goto KAkmO; ABYHn: g4PP4: goto kMSKh; lYBMp: $ds["\160\157\163\x74\x65\x72\137\164\151\x74\x6c\x65"] = $poster_title; goto OZlED; VSdGa: foreach ($ds["\160\x72\x6f\137\151\155\x67\x73"] as $k => &$v) { $v = tomedia($v); RQbFG: } goto OyHch; Xx83f: if (!$shopInfo) { goto h1xvx; } goto EsMt5; D11E2: return $this->result(1, "\346\225\xb0\xe6\215\256\351\x94\231\350\257\257"); goto dVn8B; rdP1g: if (empty($ds["\160\162\157\137\164\x68\165\x6d\142"])) { goto x4gw5; } goto xZSiu; flrph: $filters = array(); goto OCuU2; ZbpF7: $scene = $_GPC["\163\143\145\156\145"]; goto qX49O; w_RJf: return $this->result(0, "\xe8\xaf\xa6\xe6\x83\x85\345\x8a\xa0\350\275\xbd\xe6\x88\x90\xe5\x8a\237", $ds); goto kF4Ay; WCcvj: $total = 0; goto FBirM; kMSKh: $globalPhone = $this->module["\143\x6f\x6e\x66\151\x67"]["\163\x65\162\166\151\143\x65\x50\150\x6f\x6e\x65"]; goto taPxn; xZSiu: $ds["\160\162\157\137\164\150\x75\x6d\142"] = tomedia($ds["\160\162\157\137\x74\150\165\x6d\x62"]); goto hnZ5m; f6dtS: if (empty($option)) { goto Z4izM; } goto waDIx; xqCuP: b4bm9: goto vTMWc; khcwI: $sceneInfo = $SM->getOneByFields($filters); goto ISRnt; yjdoL: $ds["\x68\x61\x73\103\x6f\154\154\145\143\x74\151\157\x6e"] = true; goto m3_5Q; onL7w: a90EE: goto iNhbx; WVfjm: W0JoI: goto yNeuX; VbPq0: $filters["\x67\x72\x6f\x75\160\137\x73\x74\141\x74\x75\163"] = 0; goto SeIqc; oqqoh: $ds["\145\x6e\x61\x62\154\x65\x5f\160\157\x73\164\145\x72"] = 1; goto unVX4; yNeuX: wm3m_: goto QU0T4; zsb66: $starTime = strtotime($ds["\x70\162\157\x5f\x66\154\x61\x73\150\x5f\142\x65\x67\151\x6e\164\x69\x6d\x65"]); goto Gmkfj; vTMWc: $OG = new OrderGood(); goto WL9dk; iIEiR: if (!($enable_poster && !empty($ds["\x70\162\157\137\163\x68\141\162\x65\137\x62\147\151\155\x67"]))) { goto j3EP4; } goto oqqoh; GzyZU: if (!$ds["\160\162\157\x5f\145\156\x61\142\x6c\145\x5f\x6f\x70\x74\x69\157\156"]) { goto D5TbC; } goto ML3Gu; M0MdB: L7FVX: goto w_RJf; P0geZ: if (!($ds["\160\x72\157\137\x66\x6c\141\x73\x68\x5f\157\156\x6c\151\156\x65"] && !empty($ds["\x70\162\x6f\x5f\146\x6c\141\163\150\x5f\142\145\147\151\x6e\x74\151\155\x65"]) && !empty($ds["\x70\162\157\137\146\154\141\163\150\x5f\145\x6e\x64\164\x69\155\x65"]) && $ds["\160\x72\157\137\146\x6c\x61\163\x68\x5f\x65\156\144\164\151\155\145"] > $currentTime && $ds["\x70\x72\157\137\146\154\x61\163\x68\137\142\145\147\151\156\x74\x69\155\x65"] < $currentTime)) { goto boeHJ; } goto F0sIf; XGoiD: $ds["\x73\x68\x6f\160\111\x6e\146\x6f"] = $shopInfo; goto vMXmB; ISRnt: if (!$sceneInfo) { goto mq2Sd; } goto KxzIu; WVZxE: $ds["\x73\150\x61\x72\145\122\145\x73\165\154\164"] = $shareResult; goto n4C67; DhAER: $total = 0; goto kzssb; pJmq0: kl38J: goto GzyZU; EwvO7: $ds["\x67\162\157\x75\160\x5f\164\157\x74\x61\154"] = $total; goto tlyMb; P0ZjB: unset($v); goto VYDPQ; BOqfW: $ds["\160\x72\157\137\151\155\x67\x73"] = unserialize($ds["\160\x72\x6f\137\x69\x6d\147\163"]); goto L0RrF; YAZYw: $filters["\165\x5f\157\x70\145\156\x69\144"] = $_W["\157\x70\x65\156\x69\144"]; goto B4DDT; Ww7r1: if (empty($ds["\160\162\x6f\137\151\x6d\147\x73"])) { goto Mxp01; } goto BOqfW; YoiNP: glpJu: goto nO_Lx; OCuU2: $filters["\160\x72\x6f\x5f\143\157\x64\x65"] = $code; goto reGCt; PxZvN: mq2Sd: goto qSGid; taPxn: if (!empty($ds["\160\x72\157\x5f\163\x65\162\166\x69\x63\145\160\x68\x6f\x6e\x65"])) { goto eNnYV; } goto XU_uR; mBJy7: $filters["\x70\162\x6f\137\x63\157\x64\145"] = $code; goto VbPq0; EsMt5: $shopInfo["\163\150\x6f\160\137\x74\150\165\x6d\142"] = tomedia($shopInfo["\x73\150\x6f\x70\x5f\x74\x68\x75\x6d\142"]); goto XGoiD; fre3L: $pageSize = 2; goto DhAER; L0RrF: if (!is_array($ds["\160\162\157\137\x69\x6d\x67\x73"])) { goto a90EE; } goto VSdGa; waDIx: $ds["\x6f\160\x74\151\157\156"] = $option; goto WhT_y; dVn8B: NXDH3: goto Ww7r1; SeIqc: $filters["\x67\x72\157\165\160\146\x69\154\x74\145\x72\x73"] = array("\164\171\x70\145" => "\141\x6e\x64", "\x66\151\154\164\145\162\163" => array("\x67\162\x6f\x75\160\x5f\x65\170\160\151\x72\x65\164\x69\155\x65" => array("\x76\x61\x6c\165\145" => date("\131\55\155\55\x64\x20\110\72\x69\72\x73"), "\x67\x6c\x75\145" => "\76"))); goto jrVT5; HlYej: bqNgs: goto Y_HrP; qSGid: kQriw: goto lxYEd; f4wIj: global $_GPC, $_W; goto Fm3lD; uEIoZ: if (!$hasCollection) { goto oxGrg; } goto yjdoL; JwgvX: eNnYV: goto fC2oM; Y_HrP: $Collection = new Collection(); goto QrmU_; WhT_y: Z4izM: goto GKSi3; QU0T4: $ds["\x6e\145\x77\x42\x75\171\145\162"] = $newBuyer; goto zUTI3; GKSi3: D5TbC: goto Mnmux; PSaGK: $shopInfo = $Shop->getOne($ds["\x73\150\157\160\137\x69\144"]); goto Xx83f; yzKzL: $filters = array(); goto mBJy7; KAkmO: foreach ($newOrder as $k => $v) { goto fQxdC; fQxdC: $memberInfo = $M->getOneByOpenid($v["\x75\137\157\x70\x65\156\x69\x64"]); goto E9R2M; RC7Gm: $newBuyer[] = $memberInfo; goto RTpJN; RTpJN: SoWRb: goto n0YSk; n0YSk: uAPDl: goto a9ZiU; E9R2M: if (!$memberInfo) { goto SoWRb; } goto RC7Gm; a9ZiU: } goto WVfjm; m3_5Q: oxGrg: goto ubAac; lxYEd: if (!empty($code)) { goto glpJu; } goto Fw0ig; ML3Gu: $option = option_detail($ds["\x70\x72\x6f\x5f\151\144"]); goto f6dtS; aF4Wg: $ds["\154\145\x66\x74\x74\x69\155\x65"] = $leftTime; goto gW50D; WL9dk: $M = new Member(); goto flrph; ubAac: $Shop = new Shop(); goto iWxYe; t4fZN: $filters["\x73\155\x5f\x6b\x65\171"] = $scene; goto khcwI; YWyVZ: $SM = new SceneMap(); goto bjaT4; hnZ5m: x4gw5: goto s8lGI; wY8ON: $enable_poster = $this->module["\143\x6f\x6e\146\x69\147"]["\x65\156\141\142\x6c\x65\137\160\x6f\x73\x74\x65\162"]; goto iIEiR; yBwzL: if ($ds) { goto NXDH3; } goto D11E2; bjaT4: $filters = array(); goto t4fZN; VYDPQ: $ds["\x67\162\x6f\x75\160"] = $groupArray; goto EwvO7; s8lGI: if (empty($ds["\160\162\157\x5f\144\145\x73"])) { goto g4PP4; } goto zqe5b; zqe5b: $ds["\160\x72\x6f\x5f\144\x65\163"] = htmlspecialchars_decode($ds["\x70\162\x6f\137\x64\145\x73"]); goto ABYHn; n2Yym: if (!$groupArray) { goto cvSPj; } goto a2520; Gmkfj: $endTime = strtotime($ds["\160\162\157\x5f\x66\x6c\141\163\x68\137\145\156\x64\164\151\x6d\145"]); goto i8tad; nO_Lx: $ds = pdo_get("\x68\155\x75\154\x74\x69\163\x68\x6f\x70\x5f\x70\162\157\x64\x75\x63\164", array("\160\162\157\x5f\x63\157\x64\x65" => $code)); goto yBwzL; ccwcU: Mxp01: goto rdP1g; tlyMb: cvSPj: goto HlYej; Fm3lD: $code = $_GPC["\143\157\x64\x65"]; goto ZbpF7; F0sIf: $leftTime = strtotime($ds["\160\x72\157\x5f\146\154\141\x73\150\137\145\x6e\144\164\x69\x6d\145"]) - time(); goto aF4Wg; XU_uR: $ds["\x70\x72\157\x5f\163\x65\x72\166\x69\143\145\160\150\157\x6e\145"] = $globalPhone; goto JwgvX; n4C67: $ds["\x65\x6e\x61\142\x6c\x65\137\x63\x6f\151\156"] = 1; goto pJmq0; YYPIg: $_GPC["\165\x5f\146\162\x6f\x6d"] = $sceneInfo["\165\137\157\x70\145\x6e\x69\x64"]; goto PxZvN; hPxEq: autoload()->func("\163\x68\141\x72\x65"); goto v5lC1; i8tad: $timeCurrent = time(); goto PSiOQ; iWxYe: if (empty($ds["\163\150\157\x70\x5f\151\x64"])) { goto L7FVX; } goto PSaGK; iNhbx: unset($v); goto ccwcU; a2520: foreach ($groupArray as &$v) { goto wAF4t; wAF4t: $memberInfo = $M->getOneByOpenid($v["\147\x72\x6f\x75\160\137\x6d\141\163\164\x65\x72"]); goto hFNQC; V7d_z: $v["\x72\145\x6d\141\x69\x6e\x54\x69\x6d\145"] = strtotime($v["\x67\x72\157\165\160\x5f\145\x78\x70\151\162\145\x74\151\155\145"]) - time(); goto Zmhxb; vasUk: if (!($v["\147\162\157\x75\160\137\x65\170\160\151\162\x65\164\x69\x6d\145"] > date("\131\55\155\55\144\x20\110\72\x69\x3a\163"))) { goto Jrv1a; } goto V7d_z; wUkR4: $v["\x6d\x65\x6d\142\x65\x72\111\x6e\146\x6f"] = $memberInfo; goto iTeZj; TqLYm: MrKga: goto hjbIl; Zmhxb: Jrv1a: goto TqLYm; iTeZj: nCzNZ: goto vasUk; hFNQC: if (!$memberInfo) { goto nCzNZ; } goto wUkR4; hjbIl: } goto EoRfy; reGCt: $pageIndex = 1; goto fre3L; n4Pd0: $newOrder = $OG->getAllByPage($filters, $pageIndex, $pageSize, $total, "\x67\154\137\143\162\145\141\x74\x65\164\151\x6d\x65\x20\104\x45\x53\103"); goto WxYKZ; vMXmB: h1xvx: goto M0MdB; jrVT5: $pageIndex = 1; goto BKiFe; Mnmux: $poster_title = $this->module["\x63\x6f\156\146\151\x67"]["\144\151\171\137\144\x65\164\141\151\154\x5f\x70\x6f\x73\x74\x65\x72\137\x6e\141\x6d\x65"]; goto QGd9m; zUTI3: $M = new Member(); goto uPmYK; EoRfy: YJrqJ: goto P0ZjB; KxzIu: $code = $sceneInfo["\x73\x6d\x5f\143\x6f\x64\x65"]; goto YYPIg; Lyjj5: $ds["\165\137\157\160\x65\x6e\x69\x64"] = $_W["\x6f\160\145\156\x69\x64"]; goto wY8ON; OZlED: $currentTime = date("\131\55\155\x2d\x64\x20\110\72\151\x3a\x73", time()); goto P0geZ; v5lC1: autoload()->func("\x71\x72"); goto v3tWt; FWiTn: $Group = new Group(); goto yzKzL; fC2oM: $ds["\x70\x72\x6f\x5f\x73\150\x61\162\x65\x5f\x74\150\165\155\x62"] = tomedia($ds["\x70\162\157\x5f\163\150\141\x72\145\137\x74\150\165\155\142"]); goto Lyjj5; l5Tlo: $filters["\143\154\x5f\x74\x79\x70\145"] = 1; goto YAZYw; F50hj: $ds["\160\162\x6f\137\146\x6c\141\x73\x68\137\157\x6e\154\151\156\x65"] = 0; goto xqCuP; Oai6v: $filters["\141\x63\137\x69\144"] = $ds["\x70\162\x6f\137\151\144"]; goto l5Tlo; PSiOQ: if (!($timeCurrent < $starTime || $endTime < $timeCurrent)) { goto b4bm9; } goto F50hj; v3tWt: autoload()->func("\x6f\160\x74\151\157\x6e"); goto f4wIj; uVkZt: if (!($enable_coin && $ds["\x65\156\x61\142\154\x65\137\x70\x6f\163\x74\x65\x72"] != 1)) { goto kl38J; } goto WoNP0; BKiFe: $pageSize = 50; goto WCcvj; Fw0ig: return $this->result(1, "\xe4\xbc\240\351\x80\222\345\217\x82\xe6\225\260\xe9\224\231\xe8\xaf\257"); goto YoiNP; B4DDT: $hasCollection = $Collection->getOneByFields($filters); goto uEIoZ; qX49O: if (!(!empty($scene) && $scene != "\x75\156\x64\x65\146\x69\x6e\x65\x64")) { goto kQriw; } goto YWyVZ; QGd9m: $poster_title = !empty($poster_title) ? $poster_title : "\xe5\x88\x86\344\xba\xab\xe8\xb5\x9a\xe6\213\xa5\351\207\x91"; goto lYBMp; kF4Ay: } public function doPageUploadOrder() { goto vb1Oy; f6g5K: if (is_array($productArray)) { goto fGOkm; } goto DEYWa; eVX3L: zhkUM: goto qwxCD; KGeUy: arDSA: goto xemS_; ZAWpV: return $this->result(1, $data["\155\145\x73\x73\x61\147\x65"]); goto tI3sR; bvGKO: goto arDSA; goto C_9uB; IPGQ2: $memberInfo = $M->getOneByOpenid($_W["\x6f\160\145\156\x69\x64"]); goto NSpXQ; wYF3F: return $this->result(1, "\346\225\xb0\346\215\xae\350\247\243\xe6\x9e\x90\xe9\224\x99\350\257\xaf", $productArray); goto DfYhM; Dkwaa: return $this->result(1, "\344\xbc\240\351\x80\x92\xe5\217\x82\346\x95\xb0\xe9\224\231\350\257\xaf"); goto EvWW0; qwxCD: fGOkm: goto unwDp; aemXi: $config_expireTime = $this->module["\x63\157\x6e\146\151\x67"]["\145\x78\x70\151\162\x65\124\151\155\x65"]; goto mxko0; p0Qkp: Ra0tv: goto L2gsW; vb1Oy: global $_GPC, $_W; goto vKJ_Q; D6SCo: $touristInfo = array(); goto cy_g3; eCsFr: zlPAL: goto Wt_m9; rOJJP: $receiver = $_GPC["\x72\145\x63\x65\151\166\x65\x72"]; goto tOFuF; fzUIt: if (!empty($_GPC["\164\157\165\x72\151\163\x74\114\x69\163\164"])) { goto JNsaO; } goto D6SCo; DEYWa: $productArray = array_filter(explode("\73", $product)); goto F7_kb; FEgP7: NIDVy: goto JDBQI; tI3sR: OlXWN: goto Thi86; f7MGU: $touristInfo = json_decode(htmlspecialchars_decode($_GPC["\164\157\165\162\151\163\x74\x4c\x69\163\x74"]), true); goto KGeUy; xemS_: if (!(empty($product) || empty($_W["\x6f\160\x65\x6e\x69\144"]))) { goto F2re6; } goto Dkwaa; Wt_m9: $touristInfo = array(); goto uDO0g; VYFxk: $product = $_GPC["\160\162\157\144\165\x63\164"]; goto rOJJP; F7_kb: if (!is_array($productArray)) { goto zhkUM; } goto Uro_g; C_9uB: JNsaO: goto f7MGU; XzdNR: $touristInfo[0]["\x6f\144\x5f\x74\x6f\x75\162\151\x73\x74\137\155\157\142\x69\154\x65"] = $_GPC["\x74\x6f\165\162\x69\163\x74\137\x6d\x6f\x62\151\x6c\x65"]; goto uBYOE; vKJ_Q: $_W["\147\x6c\157\x62\x61\154\x43\157\x6e\146\x69\x67"] = $this->module["\x63\157\156\x66\x69\x67"]; goto s8C8Z; cy_g3: goto arDSA; goto eCsFr; uDO0g: $touristInfo[0]["\157\x64\x5f\x74\157\x75\162\x69\163\164\x5f\x6e\141\x6d\x65"] = $_GPC["\164\157\x75\162\x69\163\x74\x5f\156\x61\155\145"]; goto RPGoY; s8C8Z: autoload()->func("\x74\145\x6d\160\x6c\141\x74\145"); goto VYFxk; Thi86: $formId = $_GPC["\146\157\x72\155\x49\144"]; goto QShpo; Reqb4: $productArray = json_decode(htmlspecialchars_decode($product), true); goto f6g5K; mxko0: $data = $OrderService->uploadOrder($_W["\x6f\160\x65\x6e\x69\x64"], $productArray, $receiver, $config_expireTime, $touristInfo); goto Lzb8v; tOFuF: if (!empty($_GPC["\164\x6f\165\x72\151\x73\x74\x5f\156\x61\x6d\x65"])) { goto zlPAL; } goto fzUIt; uBYOE: $touristInfo[0]["\x6f\x64\137\x74\x6f\165\x72\x69\x73\164\137\x63\141\x72\x64"] = $_GPC["\164\x6f\x75\162\151\x73\164\x5f\x63\141\x72\x64"]; goto bvGKO; goZvL: $M = new Member(); goto IPGQ2; EvWW0: F2re6: goto Reqb4; Uro_g: foreach ($productArray as $k => &$v) { goto WBgoJ; ls4tV: $new["\144\x61\x74\x65"] = str_replace("\x64\x61\x74\x65\x3d", '', $item[6]); goto R0EAg; H_RcZ: $new["\x70\x72\151\x63\x65\124\171\160\x65"] = str_replace("\x70\162\x69\143\x65\164\171\160\145\75", '', $item[3]); goto nkakk; xkzJv: $new["\147\162\157\x75\160\112\x6f\151\156"] = str_replace("\x67\162\157\x75\x70\152\x6f\x69\x6e\x3d", '', $item[5]); goto ls4tV; Q3VCi: $new["\x74\x6f\x74\141\x6c"] = str_replace("\164\x6f\x74\141\154\75", '', $item[1]); goto T8kvm; nkakk: $new["\147\162\x6f\x75\160\101\x64\x64"] = str_replace("\147\162\x6f\x75\160\141\144\x64\x3d", '', $item[4]); goto xkzJv; T8kvm: $new["\x6f\160\x74\151\157\156\x49\144"] = str_replace("\157\x70\164\151\x6f\156\75", '', $item[2]); goto H_RcZ; AH4jf: $new["\x63\x6f\144\145"] = str_replace("\143\x6f\x64\145\x3d", '', $item[0]); goto Q3VCi; R0EAg: $v = $new; goto w5Jmw; WBgoJ: $item = explode("\43", $v); goto AH4jf; w5Jmw: rCQQu: goto paq9K; paq9K: } goto FEgP7; Bkh3Y: ptE9t: goto jlSEk; JDBQI: unset($v); goto eVX3L; RPGoY: $touristInfo[0]["\157\x64\137\x74\x6f\x75\x72\x69\x73\164\137\x74\171\x70\145"] = $_GPC["\x74\x6f\x75\x72\x69\163\x74\x5f\164\x79\160\x65"]; goto XzdNR; oqNSd: cache_write_formId($_W["\x6f\160\145\156\151\144"], $formId); goto Bkh3Y; NSpXQ: if ($memberInfo) { goto Ra0tv; } goto kqKZC; kqKZC: return $this->result(1, "\xe6\234\252\346\x8e\210\xe6\235\x83\344\xb8\x8d\xe5\x8f\xaf\xe4\270\213\xe5\215\x95"); goto p0Qkp; jlSEk: return $this->result(0, "\xe5\210\x9b\345\xbb\xba\350\256\242\xe5\x8d\x95\xe6\x88\220\xe5\x8a\x9f", $data); goto Aw5F5; Lzb8v: if (!is_error($data)) { goto OlXWN; } goto ZAWpV; DfYhM: KSUaN: goto goZvL; QShpo: if (empty($formId)) { goto ptE9t; } goto oqNSd; unwDp: if (!(!is_array($productArray) || count($productArray) < 1)) { goto KSUaN; } goto wYF3F; L2gsW: $OrderService = new OrderService(); goto aemXi; Aw5F5: } public function doPagePaySuccess() { goto rFsw2; Pe9VD: return $this->result(1, "\345\217\202\346\x95\260\351\x94\x99\350\xaf\257"); goto KjZEj; IIJC9: $update["\x6f\x64\x5f\163\x74\141\164\165\x73"] = 1; goto Is_t4; C04qg: $code = $_GPC["\143\x6f\x64\145"]; goto sz0oY; tu3dD: $update = array(); goto IIJC9; QjsvQ: return $this->result(1, "\346\x9b\xb4\346\x96\xb0\346\x95\260\346\x8d\256\351\224\231\350\xaf\257"); goto TJrQr; rP3Hy: $O = new Order(); goto tu3dD; KjZEj: wA3rs: goto rP3Hy; mKI4B: if ($updateResult) { goto Bs6AX; } goto QjsvQ; TJrQr: Bs6AX: goto l7NQ8; l7NQ8: return $this->result(0, "\350\256\xa2\xe5\215\x95\xe7\x8a\266\346\x80\x81\xe6\233\xb4\xe6\226\xb0\346\x88\x90\xe5\212\237", $code); goto qYRDq; Is_t4: $updateResult = $O->modify($code, $update); goto mKI4B; rFsw2: global $_GPC, $_W; goto C04qg; sz0oY: if (!empty($_GPC["\143\157\144\x65"])) { goto wA3rs; } goto Pe9VD; qYRDq: } public function doPageStrategy() { goto YIoMi; IJFJ8: $psize = 20; goto ODevq; zjVyG: if ($ds) { goto X3eUg; } goto Gxpyu; B97Bm: return $this->result(0, "\xe5\212\xa0\350\275\275\346\210\x90\345\212\x9f", $data); goto gQUvI; y4dpM: if (empty($key)) { goto Oq71_; } goto VNCOp; cB8Ji: Oq71_: goto zqmJf; Gxpyu: return $this->result(1, "\xe5\x8a\xa0\350\275\275\xe9\x94\231\xe8\257\xaf"); goto Hb2A1; voNcg: $data["\x74\141\x67"] = $tag; goto fA_Rj; Hb2A1: X3eUg: goto NCMie; i0Fu3: $A = new Article(); goto o3JYB; PPFgE: CgOHo: goto EqeUV; NCMie: foreach ($ds as $k => &$v) { goto AHLD_; jpY5Z: ZGylD: goto KI8aB; huHrV: $v["\141\143\x5f\143\162\x65\141\x74\x65\x74\151\155\145"] = date("\131\55\x6d\55\x64", strtotime($v["\x61\143\x5f\x63\x72\x65\x61\x74\145\164\151\x6d\x65"])); goto s2AtH; OM1rV: if (empty($v["\141\x63\137\143\x6f\156\164\145\156\x74"])) { goto u1uyL; } goto xcWEG; xcWEG: $v["\x61\x63\x5f\143\x6f\x6e\164\145\x6e\164"] = htmlspecialchars_decode($v["\x61\x63\137\x63\157\156\x74\x65\156\x74"]); goto dtY5B; mTqbF: $v["\x61\143\x5f\x74\150\165\155\142"] = tomedia($v["\x61\143\x5f\x74\x68\x75\x6d\x62"]); goto TDAs_; AHLD_: if (empty($v["\x61\143\137\x61\165\144\151\157"])) { goto vuTBG; } goto nmoWD; D88mt: vuTBG: goto b4_BV; nmoWD: $v["\141\x63\x5f\141\165\144\151\x6f"] = tomedia($v["\141\x63\x5f\141\x75\x64\x69\x6f"]); goto D88mt; s2AtH: $v["\x74\171\160\x65"] = 0; goto jpY5Z; b4_BV: if (empty($v["\141\x63\x5f\x74\x68\x75\155\142"])) { goto kSMLn; } goto mTqbF; dtY5B: u1uyL: goto huHrV; TDAs_: kSMLn: goto OM1rV; KI8aB: } goto rcR7b; R8M6k: $pindex = max($pindex, 1); goto IJFJ8; rcR7b: uWMyx: goto fv4CT; VNCOp: $filters["\x61\x63\x5f\x6b\145\x79\167\x6f\x72\x64"] = $key; goto cB8Ji; o3JYB: $filters = array(); goto nSltt; MACbx: $tag = array_filter(explode("\43", $tag)); goto voNcg; BpfA9: $key = $_GPC["\x6b\145\171"]; goto Gxcmj; YIoMi: global $_GPC, $_W; goto PU43Q; nSltt: $filters["\141\143\x5f\x73\x74\x61\164\165\163"] = 0; goto y4dpM; Zu0Ie: $key = $data["\x74\141\147"][0]; goto PPFgE; fv4CT: $data["\x61\x72\x74\x69\143\x6c\145"] = $ds; goto B97Bm; zqmJf: $ds = $A->getAllByPage($filters, $pindex, $psize, $total, "\141\143\137\x77\x65\x69\147\x68\164\40\40\104\105\123\x43\54\141\143\x5f\151\144\x20\x44\105\123\x43\40"); goto zjVyG; fA_Rj: TgPS7: goto BpfA9; Gxcmj: if (!(empty($key) && $data["\164\141\147"])) { goto CgOHo; } goto Zu0Ie; EqeUV: $pindex = intval($_GPC["\x70\x61\x67\x65"]); goto R8M6k; LqKAh: if (empty($tag)) { goto TgPS7; } goto MACbx; ODevq: $total = 0; goto i0Fu3; eAba0: $tag = $this->module["\x63\x6f\156\x66\x69\147"]["\x73\x74\162\x61\164\x65\147\171\x4b\145\171\x77\x6f\x72\144\x73"]; goto LqKAh; PU43Q: $data = array(); goto eAba0; gQUvI: } public function doPageArticle() { goto CUP4v; QlQg0: $id = $_GPC["\151\x64"]; goto g7sqh; g7sqh: if (!empty($id)) { goto yiu_G; } goto qUA4I; CAsox: nL3D0: goto dcEcW; gf8EC: share_handler($_W["\157\x70\x65\x6e\x69\x64"], $_GPC["\x75\x5f\146\162\x6f\155"], $ds["\x61\143\137\x69\144"], $ds["\x61\x63\x5f\x73\150\x61\x72\145\x5f\x63\157\x69\156"]); goto S9jSq; Pvp5l: $enable_coin = $this->module["\143\157\156\146\x69\x67"]["\145\x6e\x61\x62\x6c\x65\137\x63\x6f\151\156"]; goto LwyGs; UtCZO: QS4vP: goto cTwS5; dcEcW: $ds["\x76\151\160\x53\x68\x6f\167"] = $vipShow; goto NHB__; AVx_N: $ds["\141\143\137\166\x69\x65\167"] = $ds["\141\x63\x5f\x76\x69\x65\x77"] + 1; goto RXqgG; YVUf_: if ($ds) { goto nLmEt; } goto ixNC2; h7zlZ: $isVip = $MemberService->isVip($_W["\157\160\x65\x6e\x69\144"]); goto NKl6x; Uu8gv: yiu_G: goto gpQsF; w_zte: $ds["\x61\143\x5f\141\x75\x64\151\157"] = tomedia($ds["\x61\143\137\141\x75\144\x69\157"]); goto X8HxF; NHB__: return $this->result(0, "\xe5\x8a\240\xe8\275\275\346\x88\220\xe5\212\x9f", $ds); goto QBon9; aXWfe: $A = new Article(); goto YcNxG; fdlqC: $update["\x61\x63\137\166\x69\x65\167"] = $ac_view; goto pr9qR; w0d_D: $ac_view = $ds["\x61\143\x5f\166\x69\145\167"] + 1; goto YUowp; JIIhS: $ds["\165\x5f\x6f\160\145\x6e\151\x64"] = $_W["\157\x70\x65\156\151\x64"]; goto Pvp5l; i2qWl: $vipShow = 0; goto rlr35; QWem6: $MemberService = new MemberService(); goto h7zlZ; UB8rJ: if (!($ds["\141\143\137\x72\x65\161\x75\x69\162\x65\x5f\x76\x69\160"] == 1)) { goto nL3D0; } goto QWem6; gpQsF: autoload()->func("\x73\150\x61\x72\x65"); goto aXWfe; YcNxG: $ds = $A->getOne($id); goto YVUf_; YUowp: $update = array(); goto fdlqC; pr9qR: $A->modify($id, $update); goto AVx_N; S9jSq: $ds["\145\x6e\x61\x62\154\x65\x5f\143\x6f\151\x6e"] = 1; goto UtCZO; ixNC2: return $this->result(1, "\xe6\225\260\346\x8d\xae\xe9\224\x99\350\xaf\xaf"); goto htT9n; qUA4I: return $this->result(1, "\xe5\x8f\x82\346\x95\260\xe9\x94\x99\350\xaf\xaf"); goto Uu8gv; htT9n: nLmEt: goto w0d_D; X8HxF: $ds["\141\143\137\143\x72\145\141\164\145\164\x69\x6d\145"] = date("\131\x2d\x6d\x2d\144", strtotime($ds["\141\143\137\x63\x72\x65\x61\x74\145\x74\x69\x6d\145"])); goto sxm7T; RXqgG: $ds["\x61\143\x5f\164\150\x75\x6d\142"] = tomedia($ds["\141\x63\137\164\150\x75\x6d\142"]); goto w_zte; CUP4v: global $_GPC, $_W; goto QlQg0; MrKqI: $ds["\x61\x63\x5f\163\x68\x61\x72\x65\137\164\x68\165\x6d\x62"] = tomedia($ds["\141\143\137\163\x68\141\x72\x65\x5f\164\x68\x75\x6d\142"]); goto JIIhS; NKl6x: if (!is_error($isVip)) { goto yVfCx; } goto i2qWl; rlr35: yVfCx: goto CAsox; LwyGs: if (!($enable_coin && $ds["\141\143\x5f\163\x68\141\162\145\x5f\143\x6f\151\x6e"] > 0)) { goto QS4vP; } goto gf8EC; cTwS5: $vipShow = 1; goto UB8rJ; sxm7T: $ds["\141\x63\x5f\143\x6f\156\x74\145\x6e\x74"] = htmlspecialchars_decode($ds["\141\143\x5f\143\x6f\156\x74\x65\156\x74"]); goto MrKqI; QBon9: } public function doPageStrategySearch() { goto xlY7T; sXuPZ: $pindex = max($pindex, 1); goto OncMi; JDvor: foreach ($ds as $k => &$v) { goto ZEZhx; Hxnzl: $v["\x74\x68\x75\155\142"] = $v["\141\143\137\164\150\165\155\142"]; goto u1aRu; yc9O0: $v["\x74\151\155\145"] = date("\x59\55\x6d\x2d\144", strtotime($v["\x61\143\137\143\162\x65\x61\164\145\x74\151\155\145"])); goto rAPL8; tBypo: $v["\x61\x63\x5f\141\x75\x64\151\x6f"] = tomedia($v["\141\143\x5f\x61\x75\x64\x69\x6f"]); goto vs6X0; bfFRR: a1C7x: goto QXnrL; rAPL8: $v["\x74\171\160\x65"] = 0; goto bfFRR; pmku2: cid5f: goto kNnHZ; vs6X0: KWXnr: goto DEQDM; Pxc9o: $v["\x74\x69\164\154\145"] = mb_substr($v["\141\x63\x5f\164\151\x74\154\145"], 0, 15); goto Hxnzl; RDkAW: wX7Ya: goto bLm8D; nozeD: $v["\x61\x63\137\x74\150\x75\x6d\142"] = tomedia($v["\x61\x63\x5f\164\x68\165\x6d\x62"]); goto RDkAW; C_pOO: $v["\x61\143\137\x63\x6f\156\164\145\156\164"] = htmlspecialchars_decode($v["\x61\x63\137\143\x6f\156\164\x65\x6e\164"]); goto pmku2; DEQDM: if (empty($v["\x61\x63\137\164\150\165\x6d\142"])) { goto wX7Ya; } goto nozeD; kNnHZ: $v["\x69\x64"] = $v["\141\143\137\x69\144"]; goto Pxc9o; bLm8D: if (empty($v["\x61\143\137\x63\x6f\156\x74\145\x6e\x74"])) { goto cid5f; } goto C_pOO; u1aRu: $v["\x64\145\x73"] = $v["\x61\143\137\144\145\x73"]; goto yc9O0; ZEZhx: if (empty($v["\x61\x63\137\x61\x75\144\x69\x6f"])) { goto KWXnr; } goto tBypo; QXnrL: } goto smtXM; VEmTa: hhCS0: goto a6B4c; FPL9r: $filters["\x61\143\137\153\x65\171\167\x6f\162\144"] = $key; goto VEmTa; pvZWu: $total = 0; goto fw4gL; zfgV5: return $this->result(0, "\345\x8a\xa0\xe8\275\xbd\xe6\x88\x90\xe5\212\237", $ds); goto UM00V; P19jQ: if ($ds) { goto Pu73R; } goto rtbGD; Vn1Ar: $filters["\141\x63\137\163\x74\141\x74\x75\x73"] = 0; goto j5GpO; OncMi: $psize = 20; goto pvZWu; smtXM: AjfNQ: goto zfgV5; j5GpO: if (empty($key)) { goto hhCS0; } goto FPL9r; MaqsW: $pindex = intval($_GPC["\160\141\x67\145"]); goto sXuPZ; a6B4c: $ds = $A->getAllByPage($filters, $pindex, $psize, $total, "\x61\143\137\167\x65\151\147\x68\164\x20\40\x44\x45\123\x43\x2c\x61\143\x5f\x69\144\40\x44\x45\123\x43\40"); goto P19jQ; rtbGD: return $this->result(1, "\345\x8a\240\350\275\275\351\224\x99\xe8\xaf\257"); goto FS33h; fw4gL: $A = new Article(); goto DCkX6; xlY7T: global $_GPC, $_W; goto G3GQz; G3GQz: $key = $_GPC["\x6b\145\171"]; goto MaqsW; FS33h: Pu73R: goto JDvor; DCkX6: $filters = array(); goto Vn1Ar; UM00V: } public function doPageProductSearch() { goto E1Oj9; rtY0j: foreach ($ds as $k => &$v) { goto Ryj1c; SUuty: $option = option_detail($v["\x70\162\157\x5f\151\x64"]); goto kVVEA; BhHQX: if (!$v["\160\162\x6f\137\x65\156\x61\142\x6c\145\137\x6f\x70\x74\x69\157\156"]) { goto RlSuu; } goto SUuty; HfTZO: $v["\x6f\160\164\x69\x6f\x6e"] = $option; goto fU_1c; kVVEA: if (empty($option)) { goto hYvj1; } goto HfTZO; k33pb: RlSuu: goto DBMjN; fU_1c: hYvj1: goto k33pb; DBMjN: lmqtl: goto tMbuu; Ryj1c: $v["\x70\x72\157\137\164\150\165\x6d\x62"] = tomedia($v["\x70\162\x6f\137\x74\150\165\155\x62"]); goto BhHQX; tMbuu: } goto bCJBK; MWvSQ: $P = new Product(); goto WldvH; R8yGx: k7auV: goto Q0YWo; ptW4z: return $this->result(1, "\345\212\xa0\xe8\xbd\275\344\272\xa7\xe5\223\x81\xe5\244\xb1\xe8\264\xa5"); goto rmnvb; j8JZs: $filters["\x70\162\157\x5f\x73\x74\141\x74\x75\163"] = 0; goto UwEGA; ERLs6: lj7gQ: goto ocnuz; ALjy0: $ds = $P->getAllByPage($filters, $page, $pageSize, $total, $orderSql . "\x70\162\157\137\167\145\151\x67\150\x74\x20\x44\x45\123\103"); goto Nyk4u; rmnvb: X3Bo5: goto rtY0j; UwEGA: if (empty($key)) { goto k7auV; } goto zNC27; bCJBK: jwVSF: goto OEQHu; okT4f: $orderBy = $_GPC["\157\x72\x64\x65\x72\142\171"]; goto qqVEo; ocnuz: qr_8B: goto MWvSQ; wx5N9: $key = $_GPC["\153\145\171"]; goto NF7_b; Nyk4u: if ($ds) { goto X3Bo5; } goto ptW4z; WldvH: $page = intval($_GPC["\160\141\147\x65"]); goto phHKE; Q0YWo: if (empty($_GPC["\x73\x68\x6f\160\137\x69\144"])) { goto ZuMUR; } goto Y4kNq; zNC27: $filters["\x70\x72\157\x5f\x6b\145\171\167\x6f\x72\144"] = $key; goto R8yGx; E1Oj9: autoload()->func("\x6f\x70\x74\151\x6f\156"); goto AFHLC; AFHLC: global $_W, $_GPC; goto okT4f; Y4kNq: $filters["\x73\150\x6f\x70\137\x69\x64"] = $_GPC["\163\x68\x6f\x70\x5f\x69\144"]; goto dro7U; phHKE: $page = max($page, 1); goto QL_hO; OEQHu: unset($v); goto BwK3I; qqVEo: $orderSql = ''; goto wx5N9; QL_hO: $pageSize = 20; goto IVzkA; BwK3I: return $this->result(0, "\xe5\x8a\xa0\xe8\xbd\xbd\xe6\x88\220\xe5\x8a\237", $ds); goto tSrct; IVzkA: $total = 0; goto egQr7; egQr7: $filters = array(); goto j8JZs; NF7_b: switch ($orderBy) { case 1: goto qr_8B; case 2: $orderSql = "\x20\160\162\157\137\x73\141\154\145\x73\40\104\105\x53\103\54"; goto qr_8B; case 3: $orderSql = "\40\x70\162\x6f\137\162\145\x61\x6c\160\162\151\143\x65\x20\101\x53\x43\x2c"; goto qr_8B; case 4: $orderSql = "\x20\x70\x72\x6f\137\x72\145\141\x6c\x70\162\151\x63\x65\x20\x44\105\123\x43\54"; goto qr_8B; } goto ERLs6; dro7U: ZuMUR: goto ALjy0; tSrct: } public function doPageGlobalConfig() { goto kXchU; C9TsP: $FormatService = new FormatService(); goto uJRSQ; kXchU: global $_W, $_GPC; goto RoS5s; RoS5s: $globalConfig = $this->module["\143\x6f\x6e\x66\151\x67"]; goto C9TsP; EttVt: return $this->result(0, "\xe5\x8a\240\xe8\275\275\345\x85\250\345\261\x80\xe9\x85\215\347\275\256", $globalConfig); goto wVg8h; uJRSQ: $globalConfig = $FormatService->formatGlobalConfig($globalConfig); goto EttVt; wVg8h: } public function doPageAddCollection() { goto dnaGC; Ffhsi: $insert = array(); goto wZSCp; HD1Mn: return $this->result(1, "\xe5\217\x82\xe6\x95\xb0\351\224\x99\350\xaf\xaf"); goto JuGJz; vuu3j: if (empty($type)) { goto eAU8r; } goto A8nBV; Iw3cb: if (!$ds) { goto H0mjT; } goto PXnza; c15j7: $type = $_GPC["\164\171\x70\145"]; goto i0Cvd; zaZet: $filters["\x63\x6c\x5f\x74\171\x70\x65"] = 0; goto fSpzi; wZSCp: $insert["\x61\143\x5f\151\x64"] = $id; goto vuu3j; JuGJz: G8XFh: goto Pr0mi; Vlx35: $filters["\x63\x6c\x5f\x74\x79\160\145"] = $type; goto d0jUA; OJmwa: H0mjT: goto Ffhsi; zRedb: $insertResult = $C->create($insert); goto F0yPt; xH9gQ: return $this->result(0, "\xe6\267\xbb\345\212\xa0\346\x94\xb6\xe8\x97\217\xe6\x88\x90\xe5\x8a\237"); goto cwWSd; arwrJ: z2TlW: goto zaZet; FLsZQ: x6ViK: goto xH9gQ; urEpM: $insert["\x75\x5f\157\x70\x65\x6e\x69\x64"] = $_W["\x6f\x70\145\156\x69\x64"]; goto zRedb; F0yPt: if ($insertResult) { goto x6ViK; } goto dEsh0; dnaGC: global $_W, $_GPC; goto ZvzNv; fSpzi: MGgtb: goto CLBcZ; A8nBV: $insert["\x63\x6c\137\164\171\x70\x65"] = $type; goto EbPhh; K_wFp: $filters["\141\143\x5f\151\x64"] = $id; goto ICK0e; ZvzNv: $C = new Collection(); goto EhNsJ; ICK0e: if (empty($type)) { goto z2TlW; } goto Vlx35; EbPhh: eAU8r: goto urEpM; i0Cvd: if (!empty($id)) { goto G8XFh; } goto HD1Mn; d0jUA: goto MGgtb; goto arwrJ; dEsh0: return $this->result(1, "\xe6\x95\260\xe6\215\xae\346\267\xbb\345\x8a\xa0\351\224\x99\350\257\257"); goto FLsZQ; CLBcZ: $filters["\x75\x5f\x6f\x70\x65\x6e\x69\144"] = $_W["\157\x70\x65\156\151\x64"]; goto TCIyv; PXnza: return $this->result(1, "\xe5\267\xb2\346\x94\266\xe8\227\x8f\xe8\277\207\xe4\272\206"); goto OJmwa; TCIyv: $ds = $C->getOneByFields($filters); goto Iw3cb; Pr0mi: $filters = array(); goto K_wFp; EhNsJ: $id = $_GPC["\x69\144"]; goto c15j7; cwWSd: } public function doPageCancelCollection() { goto zNhSD; YNafg: c4ce8: goto nEn_1; UoOiF: return $this->result(0, "\xe5\217\x96\xe6\xb6\210\346\224\266\xe8\x97\217\xe6\x88\x90\345\212\x9f"); goto HQw88; Oi4YT: PKSUf: goto UoOiF; z9UQl: if ($deleteResult) { goto PKSUf; } goto JrOgp; xJx2d: $filters["\x61\x63\x5f\x69\x64"] = $id; goto dbuM3; nEn_1: $deleteResult = $C->delete($ds["\143\x6c\x5f\151\144"]); goto z9UQl; YS2UT: $filters = array(); goto xJx2d; zNhSD: global $_W, $_GPC; goto L20qs; e3L65: return $this->result(1, "\xe6\224\xb6\350\227\217\xe6\x95\260\346\215\256\351\224\x99\xe8\xaf\xaf"); goto YNafg; nYkZ3: if (!(empty($id) || empty($_W["\157\160\x65\156\x69\144"]))) { goto fP1_l; } goto UfWjT; KlOIW: $id = $_GPC["\151\144"]; goto nYkZ3; JrOgp: return $this->result(1, "\345\217\x96\xe6\266\210\xe6\224\xb6\xe8\x97\x8f\351\x94\x99\xe8\257\257"); goto Oi4YT; dbuM3: $filters["\165\137\157\160\145\156\x69\144"] = $_W["\157\x70\145\x6e\x69\x64"]; goto VAsqo; dnHsM: if ($ds) { goto c4ce8; } goto e3L65; UfWjT: return $this->result(1, "\xe5\217\202\xe6\225\xb0\xe9\224\x99\xe8\257\257"); goto Va14k; VAsqo: $ds = $C->getOneByFields($filters); goto dnHsM; L20qs: $C = new Collection(); goto KlOIW; Va14k: fP1_l: goto YS2UT; HQw88: } public function doPageGetAllCollection() { goto RzLYb; csBec: $data = array(); goto o7T6u; hXxUW: $A = new Article(); goto Qrvaw; H9zfe: if (!empty($_W["\157\160\145\x6e\x69\x64"])) { goto ScvRy; } goto fZLYS; Qrvaw: $P = new Product(); goto XHKf7; p1rnf: $total = 0; goto UNZB2; RzLYb: global $_W, $_GPC; goto LdSSK; GZvgU: ScvRy: goto RjfFe; X45vS: $page = max($page, 1); goto CuuX7; DqkJp: AzEA0: goto csBec; Gxkjj: $ds = $C->getAllByPage($filters, $page, $pageSize, $total, "\143\154\x5f\143\x72\x65\x61\164\x65\164\151\x6d\x65\40\x44\105\123\x43"); goto CFvvg; fZLYS: return $this->result(1, "\345\x8f\x82\346\225\xb0\xe9\224\x99\350\xaf\xaf"); goto GZvgU; RjfFe: $page = intval($_GPC["\160\141\x67\x65"]); goto X45vS; XHKf7: $S = new Shop(); goto H9zfe; LdSSK: $C = new Collection(); goto hXxUW; zQSLp: return $this->result(1, "\xe6\224\266\xe8\227\x8f\346\x95\260\346\215\256\351\224\x99\xe8\xaf\xaf"); goto DqkJp; QoA_5: AeYkF: goto TMVy0; CFvvg: if ($ds) { goto AzEA0; } goto zQSLp; o7T6u: foreach ($ds as $k => $v) { goto ubwBa; SS1RG: if (!$shopInfo) { goto Ta728; } goto QTYv_; LYTBY: $articleInfo = $A->getOne($v["\141\x63\x5f\151\x64"]); goto XUswX; f071Y: goto kS0ud; goto II_QC; oCmSz: Ta728: goto EeDRX; M13ty: mODoi: goto zKQs6; EqEAm: LHyWG: goto PeD2y; WvVqq: $articleInfo["\x74\x79\x70\145"] = 0; goto mswIg; xHnFl: if ($v["\143\x6c\x5f\x74\171\x70\x65"] == 2) { goto PFwr_; } goto f071Y; nLqrx: $shopInfo = $S->getOne($v["\x61\143\x5f\151\x64"]); goto SS1RG; zKQs6: goto kS0ud; goto EqEAm; WKzlj: goto kS0ud; goto l_oia; U2ppn: if ($v["\x63\154\137\x74\171\x70\145"] == 1) { goto LHyWG; } goto xHnFl; EeDRX: kS0ud: goto jWmRZ; QTYv_: $shopInfo["\x73\x68\x6f\x70\137\164\150\165\155\x62"] = tomedia($shopInfo["\163\150\157\x70\137\x74\x68\x75\155\142"]); goto Dmeay; l_oia: PFwr_: goto nLqrx; Uvc4v: $data[] = $shopInfo; goto oCmSz; mswIg: $data[] = $articleInfo; goto M13ty; II_QC: sAXyb: goto LYTBY; XUswX: if (!$articleInfo) { goto mODoi; } goto CV03Z; DOmHF: if (!$productInfo) { goto dL3x7; } goto ptrrm; tT_vL: $productInfo["\x74\x79\x70\145"] = 1; goto hdfML; ptrrm: $productInfo["\160\162\x6f\x5f\164\150\x75\155\x62"] = tomedia($productInfo["\x70\x72\157\137\x74\x68\165\155\x62"]); goto tT_vL; hdfML: $data[] = $productInfo; goto b0aDF; PeD2y: $productInfo = $P->getOne($v["\x61\x63\x5f\151\144"]); goto DOmHF; b0aDF: dL3x7: goto WKzlj; ubwBa: if ($v["\143\x6c\x5f\164\171\x70\x65"] == 0) { goto sAXyb; } goto U2ppn; CV03Z: $articleInfo["\141\143\x5f\x74\150\x75\155\x62"] = tomedia($articleInfo["\x61\x63\137\164\150\165\x6d\142"]); goto WvVqq; Dmeay: $shopInfo["\164\171\160\x65"] = 2; goto Uvc4v; jWmRZ: hURh0: goto ZYnEr; ZYnEr: } goto QoA_5; CuuX7: $pageSize = 10; goto p1rnf; dn8uA: $filters["\165\x5f\157\x70\x65\x6e\x69\144"] = $_W["\157\x70\145\156\151\144"]; goto Gxkjj; TMVy0: return $this->result(0, "\xe5\x8a\xa0\350\xbd\275\xe6\x94\xb6\350\227\217\xe6\x88\220\xe5\x8a\x9f", $data); goto PGt4y; UNZB2: $filters = array(); goto dn8uA; PGt4y: } public function doPageHasCollection() { goto CGPGs; fND0c: return $this->result(0, "\345\267\xb2\xe6\224\xb6\xe8\227\217"); goto KIpwl; uQoYZ: return $this->result(1, "\346\234\252\xe6\224\266\350\227\217"); goto sUqs8; KIpwl: dw1kD: goto uQoYZ; uEyE8: return $this->result(1, "\xe5\x8f\x82\346\225\260\351\x94\231\xe8\xaf\257"); goto mtqGy; T8UNX: $id = $_GPC["\x69\x64"]; goto Mo7XV; CGPGs: global $_W, $_GPC; goto IZbVB; G2ju_: $filters["\165\x5f\157\160\x65\x6e\151\144"] = $_W["\x6f\x70\x65\x6e\x69\144"]; goto KavpE; aXgNG: if (!$hasResult) { goto dw1kD; } goto fND0c; Mo7XV: if (!empty($id)) { goto xXgjX; } goto uEyE8; KavpE: $hasResult = $C->getOneByFields($filters); goto aXgNG; LKwP4: $filters["\x61\143\x5f\151\144"] = $id; goto G2ju_; IZbVB: $C = new Collection(); goto T8UNX; VL8Kb: $filters = array(); goto LKwP4; mtqGy: xXgjX: goto VL8Kb; sUqs8: } public function doPageAddLike() { goto lMC1g; YHF2n: sngmr: goto abREA; XCoHR: $insert = array(); goto B2zU6; qU4_E: $A->modify($id, $update); goto YHF2n; jgz32: $filters = array(); goto zgKZg; JYxAc: $A = new Article(); goto bhl3i; yus8L: return $this->result(1, "\xe6\x95\xb0\346\x8d\xae\xe6\267\xbb\345\x8a\240\351\224\231\xe8\257\xaf"); goto k0R2x; k0R2x: JUmkg: goto kLw6f; udcAP: if (!empty($id)) { goto lWOgW; } goto DIj_R; QxVRn: lWOgW: goto jgz32; lMC1g: global $_W, $_GPC; goto RIHxP; abREA: return $this->result(0, "\xe7\x82\xb9\xe8\xb5\x9e\346\x88\x90\345\212\x9f"); goto dca5K; zgKZg: $filters["\141\x63\137\x69\144"] = $id; goto NuIZf; bhl3i: $id = $_GPC["\x69\144"]; goto udcAP; EiBag: $update = array(); goto d_nGR; OySZJ: $ds = $L->getOneByFields($filters); goto xf6NI; J3RBG: return $this->result(1, "\345\xb7\xb2\347\202\271\xe8\265\x9e\xe8\xbf\x87\xe4\272\206"); goto X3a6v; RIHxP: $L = new Like(); goto JYxAc; MCBuS: $insertResult = $L->create($insert); goto hX4MU; pdpCV: $newUpVote = $articleInfo["\x61\143\x5f\165\x70\166\x6f\x74\x65"] + 1; goto EiBag; xf6NI: if (!$ds) { goto KZosm; } goto J3RBG; kLw6f: $articleInfo = $A->getOne($id); goto fdWPi; X3a6v: KZosm: goto XCoHR; B2zU6: $insert["\141\x63\137\x69\144"] = $id; goto dQszd; fdWPi: if (!$articleInfo) { goto sngmr; } goto pdpCV; hX4MU: if ($insertResult) { goto JUmkg; } goto yus8L; dQszd: $insert["\165\x5f\157\x70\145\156\x69\144"] = $_W["\157\160\x65\x6e\x69\x64"]; goto MCBuS; NuIZf: $filters["\165\x5f\157\x70\x65\x6e\151\144"] = $_W["\x6f\x70\145\156\151\144"]; goto OySZJ; DIj_R: return $this->result(1, "\xe5\217\x82\xe6\225\260\xe9\224\231\350\xaf\xaf"); goto QxVRn; d_nGR: $update["\141\x63\x5f\x75\160\x76\x6f\x74\145"] = $newUpVote; goto qU4_E; dca5K: } public function doPageGetAllLike() { goto B8hr2; ZNWg9: hNXr7: goto ttwnn; L26CP: return $this->result(0, "\345\x8a\xa0\350\275\275\xe7\x82\271\xe8\265\236\xe6\x88\x90\345\212\x9f", $articleResult["\141\x63\137\x75\x70\166\157\164\x65"]); goto ZNWg9; ttwnn: return $this->result(1, "\xe5\x8a\xa0\350\275\275\xe7\202\xb9\xe8\xb5\236\xe6\x95\xb0\346\x8d\256\xe5\244\xb1\xe8\xb4\245"); goto pWFJr; B8hr2: global $_W, $_GPC; goto oBhTr; JdJv_: $A = new Article(); goto nK9r2; HvcGU: if (!$articleResult) { goto hNXr7; } goto L26CP; nK9r2: $articleResult = $A->getOne($id); goto HvcGU; oBhTr: $id = $_GPC["\151\x64"]; goto JdJv_; pWFJr: } public function doPageHasLike() { goto qGapE; No2SI: if (!empty($id)) { goto Zyfzy; } goto OY5o5; UIPrb: $filters = array(); goto qMFYo; yIvgA: return $this->result(0, "\345\267\xb2\347\202\xb9\xe8\xb5\x9e"); goto dSNgZ; yX8Mq: Zyfzy: goto UIPrb; z8Sem: if (!$hasResult) { goto J2K5Q; } goto yIvgA; UcR1I: return $this->result(1, "\346\234\252\347\202\271\xe8\xb5\x9e"); goto NsYW2; dsswB: $id = $_GPC["\x69\144"]; goto No2SI; qGapE: global $_W, $_GPC; goto LFaAT; qMFYo: $filters["\x61\x63\137\151\144"] = $id; goto HIbNs; U14aK: $hasResult = $L->getOneByFields($filters); goto z8Sem; dSNgZ: J2K5Q: goto UcR1I; OY5o5: return $this->result(1, "\345\x8f\x82\346\225\260\351\224\x99\350\257\257"); goto yX8Mq; HIbNs: $filters["\x75\x5f\157\x70\145\156\x69\x64"] = $_W["\157\x70\145\x6e\151\x64"]; goto U14aK; LFaAT: $L = new Like(); goto dsswB; NsYW2: } public function doPageArticleQr() { goto SJ8gy; hxLKw: M4YYo: goto AlL0J; SJ8gy: autoload()->func("\x77\x78\x61\x70\151"); goto mmvuZ; DdBYZ: $filePath = ATTACHMENT_ROOT . "\x69\x6d\141\x67\x65\163\x2f\x68\141\167\153\137\155\x75\x6c\x74\151\163\150\157\x70\57\x71\162\57" . $uniKey . "\56\160\156\x67"; goto VJMN3; IMQtS: $uniKey = md5(serialize(array("\x69\144" => $id, "\x6f\x70\145\156\x69\144" => $_W["\157\x70\145\x6e\151\144"]))); goto O9yKC; VJMN3: $qrResult = getQr($qrConfig, $filePath); goto aToUy; AlL0J: $filePath = $qrResult["\x6d\145\x73\163\x61\147\145"]; goto qidRJ; a8iow: $id = $_GPC["\x69\x64"]; goto HyZBx; mmvuZ: global $_W, $_GPC; goto pMPHc; qidRJ: $fileUrl = tomedia(str_replace(ATTACHMENT_ROOT, '', $filePath)); goto mmBL5; HL6OA: return $this->result(1, "\xe5\217\x82\346\225\xb0\351\224\231\xe8\xaf\xaf"); goto BJYf2; aToUy: if (!is_error($qrResult)) { goto M4YYo; } goto Ykw4P; pMPHc: $A = new Article(); goto a8iow; HyZBx: if (!empty($id)) { goto DE7mW; } goto HL6OA; BJYf2: DE7mW: goto IMQtS; mmBL5: return $this->result(0, "\347\224\237\346\210\220\344\272\214\347\273\264\xe7\240\201\346\210\x90\345\212\x9f", $fileUrl); goto cJeNv; O9yKC: $qrConfig = array("\x73\143\145\x6e\145" => $id, "\160\x61\x67\145" => "\x68\141\x77\x6b\x5f\x6d\x75\x6c\164\x69\163\150\x6f\160\x2f\160\141\x67\145\163\57\141\x72\164\x69\x63\x6c\x65\x2f\x61\162\164\151\x63\154\145", "\167\151\144\x74\150" => 300, "\x6c\151\x6e\145\x5f\x63\157\x6c\157\162" => array("\162" => 0, "\x67" => 139, "\142" => 69)); goto DdBYZ; Ykw4P: return $this->result(1, "\347\224\237\346\x88\x90\345\233\xbe\347\x89\207\351\224\231\350\257\xaf"); goto hxLKw; cJeNv: } public function doPageOrder() { goto F7qpL; meSPx: $page = intval($_GPC["\160\141\x67\x65"]); goto LAvv3; Y7i0D: $filters["\x6f\144\137\163\x74\x61\164\165\163"] = $_GPC["\163\164\141\164\x75\163"]; goto a84Fi; poAD8: M_WyG: goto mMuFB; LAvv3: $page = max($page, 1); goto qLkUh; GLXZL: if (!isset($_GPC["\163\x74\x61\x74\165\163"])) { goto TYKT0; } goto Y7i0D; F7qpL: global $_W, $_GPC; goto BBVws; KkJ1a: FZwoQ: goto F0KTC; lhfnn: if ($ds) { goto FZwoQ; } goto PErFk; FHuWj: $filters["\x75\137\x6f\160\145\156\151\144"] = $_W["\157\160\145\x6e\x69\144"]; goto li6RG; JBZcq: $total = 0; goto hPA9B; rEGXS: v1hW0: goto NaiKn; F0KTC: foreach ($ds as $k => &$v) { goto ZcsfK; kgL3B: jQcx3: goto aLHKM; sLAh1: if (!$goodInfo) { goto jQcx3; } goto uZtY1; tnINN: $v["\x67\x6f\x6f\144"] = $goodInfo; goto kgL3B; ry_Ww: RzNkh: goto fhWBn; ZcsfK: $filters = array(); goto VrVYB; VrVYB: $filters["\x6f\x64\137\x63\x6f\144\x65"] = $v["\x6f\x64\137\143\157\144\145"]; goto Mj3iQ; Mj3iQ: $goodInfo = $G->getAll($filters); goto sLAh1; uZtY1: foreach ($goodInfo as $key => &$value) { $value["\x67\x64\137\x69\155\147"] = tomedia($value["\147\144\137\151\x6d\x67"]); Wtvz9: } goto ry_Ww; fhWBn: unset($value); goto tnINN; aLHKM: qc00k: goto vFOTJ; vFOTJ: } goto poAD8; AVv3Y: $G = new OrderGood(); goto meSPx; li6RG: $ds = $O->getAllByPage($filters, $page, $pageSize, $total, "\x6f\144\x5f\x63\x72\x65\141\164\145\x74\x69\x6d\145\x20\104\x45\123\x43"); goto lhfnn; hPA9B: $filters = array(); goto GLXZL; mMuFB: return $this->result(0, "\xe5\x8a\240\xe8\xbd\275\xe8\256\242\345\215\x95\xe6\210\220\xe5\x8a\237", $ds); goto bmePP; YogUI: return $this->result(1, "\345\x8f\202\xe6\225\xb0\351\x94\x99\350\xaf\257"); goto rEGXS; BBVws: if (!empty($_W["\157\x70\145\156\x69\144"])) { goto v1hW0; } goto YogUI; a84Fi: TYKT0: goto FHuWj; qLkUh: $pageSize = 20; goto JBZcq; PErFk: return $this->result(1, "\346\x95\260\346\215\xae\344\270\x8d\xe5\255\x98\xe5\x9c\250"); goto KkJ1a; NaiKn: $O = new Order(); goto AVv3Y; bmePP: } public function doPageOrderDelete() { goto oOKSj; GVCBb: if ($ticketResult) { goto Mawc8; } goto F4W9A; cwRlt: if ($goodResult) { goto DCtQg; } goto CC2Gg; V_Bgy: $flag = false; goto glY1n; njnBy: return $this->result(1, "\xe8\xae\xa2\xe5\215\x95\344\270\x8d\345\255\x98\345\234\xa8"); goto bpzrZ; gq0Jj: zhudF: goto wpBTL; qFfGE: $filters = array(); goto ePS0g; oOKSj: global $_W, $_GPC; goto eZHgQ; zEfLC: $goodResult = $G->deleteByFields($filters); goto cwRlt; aQnX5: Mawc8: goto JAErz; CkN5G: $G = new OrderGood(); goto DKp9M; BYxbJ: $O = new Order(); goto CkN5G; vs7RP: return $this->result(1, "\xe5\217\x82\xe6\225\260\351\x94\231\350\257\257"); goto i6d_S; ectzd: goto Zfqi4; goto gq0Jj; H3NQX: $filters = array(); goto bUU2A; JAErz: if ($flag) { goto zhudF; } goto wgpxM; bpzrZ: K6YIZ: goto L1_XM; i6d_S: WkDEQ: goto BYxbJ; ePS0g: $filters["\157\144\137\x63\x6f\x64\x65"] = $od_code; goto zEfLC; syspZ: return $this->result(0, "\xe5\x88\240\xe9\231\xa4\xe6\x88\220\345\212\x9f"); goto LrBxd; LEYjR: $ticketResult = $T->deleteByFields($filters); goto GVCBb; L1_XM: $flag = true; goto qHrtU; qHrtU: pdo_begin(); goto IxE_3; XEAvM: DCtQg: goto H3NQX; RvcJj: $hasOrder = $O->getOne($od_code); goto IqBjz; zlh38: if ($orderResult) { goto avA_t; } goto V_Bgy; IqBjz: if ($hasOrder) { goto K6YIZ; } goto njnBy; wgpxM: pdo_rollback(); goto iAIcj; glY1n: avA_t: goto qFfGE; CC2Gg: $flag = false; goto XEAvM; F4W9A: $flag = false; goto aQnX5; wpBTL: pdo_commit(); goto syspZ; iAIcj: return $this->result(1, "\xe5\210\240\351\x99\244\xe5\244\xb1\350\xb4\xa5"); goto ectzd; DKp9M: $T = new OrderTicket(); goto RvcJj; LrBxd: Zfqi4: goto k0r_b; IxE_3: $orderResult = $O->delete($od_code); goto zlh38; eZHgQ: $od_code = $_GPC["\157\144\x5f\143\x6f\x64\x65"]; goto ATkRO; ATkRO: if (!(empty($_W["\157\x70\145\156\151\144"]) || empty($od_code))) { goto WkDEQ; } goto vs7RP; bUU2A: $filters["\x6f\144\x5f\x63\x6f\x64\145"] = $od_code; goto LEYjR; k0r_b: } public function doPageGetOrder() { goto gp0LY; kTgnc: $mainOrders = $O->getAll($filters); goto dOcnh; hiY5z: foreach ($mainOrders as $v) { goto MfcCI; LuDRx: QTMrq: goto SpzgJ; jHqZW: $od_price += $v["\157\144\x5f\x70\x72\x69\143\145"]; goto LuDRx; MfcCI: $od_code = $v["\x6d\141\151\156\x5f\x63\x6f\144\145"]; goto jHqZW; SpzgJ: } goto BJT8F; pxldP: $filters = array(); goto QLRoB; SkKzx: h81pS: goto Kl1hL; BJT8F: P5hJB: goto eMrZ_; sy2Xu: if (!(empty($_W["\x6f\160\145\x6e\151\x64"]) || empty($code))) { goto sbBm6; } goto tyvzw; ko1kg: return $this->result(1, "\350\xae\xa2\xe5\215\225\xe7\x89\251\xe5\223\x81\351\x94\x99\350\257\xaf"); goto SkKzx; n5X3o: $data["\x6f\x72\x64\x65\162"] = $orderInfo; goto q8vsk; ubf1L: $T = new OrderTicket(); goto yS7z7; uZAEy: return $this->result(0, "\345\212\240\350\275\xbd\350\xae\xa2\xe5\x8d\x95\346\210\x90\345\x8a\x9f", $data); goto sSTCt; q8vsk: if ($mainOrders) { goto zlH2z; } goto pxldP; NLdW0: foreach ($mainOrders as $v) { goto L6yqa; L6yqa: $filters = array(); goto JdOQu; JdOQu: $filters["\157\144\x5f\x63\x6f\x64\145"] = $v["\x6f\x64\x5f\143\157\144\x65"]; goto LFJbR; BeLTM: w1DX3: goto pbef8; WGCRv: foreach ($goods as $good) { $goodInfo[] = $good; jCb3m: } goto BeLTM; pbef8: ipsht: goto Jc2Gm; LFJbR: $goods = $G->getAll($filters); goto WGCRv; Jc2Gm: } goto wz8DJ; pQol6: goto KMJs_; goto o6XKZ; CXuI6: H5AHK: goto hRNnc; AlOSd: $data = array(); goto Op4Q7; Kl1hL: foreach ($goodInfo as $k => &$v) { goto ERwEo; SuFQf: $filters = array(); goto RgDQN; ERwEo: $v["\x67\144\137\x69\x6d\x67"] = tomedia($v["\x67\144\137\x69\x6d\147"]); goto SuFQf; vImnD: JwIU9: goto VF0Hi; VF0Hi: xBo3W: goto EQE86; xFATj: foreach ($tickets as $ticket) { goto QhPUr; wF7AO: vLwil: goto YZBAb; NYDVw: $v["\x67\x64\137\144\x61\164\x65"] = $ticket["\x74\153\137\x64\x61\x74\145"]; goto wF7AO; QhPUr: if (empty($ticket["\x74\x6b\137\144\x61\164\145"])) { goto vLwil; } goto NYDVw; YZBAb: ff0AI: goto eFcGC; eFcGC: } goto vImnD; RgDQN: $filters["\147\x64\x5f\x63\x6f\144\x65"] = $v["\x67\x64\137\x63\x6f\x64\x65"]; goto p_lkH; fMNKX: if (!$tickets) { goto xBo3W; } goto xFATj; p_lkH: $tickets = $T->getAll($filters); goto fMNKX; EQE86: E09VP: goto HfiRT; HfiRT: } goto jhaMY; It3Ap: $filters["\x6d\141\x69\156\137\x63\x6f\144\x65"] = $code; goto kTgnc; Op4Q7: $code = $_GPC["\x63\x6f\x64\x65"]; goto sy2Xu; hRNnc: if (!$mainOrders) { goto pyaSI; } goto lrnql; tyvzw: return $this->result(1, "\xe5\217\x82\346\x95\xb0\351\224\x99\350\257\257"); goto fm6EB; eMrZ_: $orderInfo["\157\144\137\143\x6f\x64\x65"] = $od_code; goto lrEM_; is7oc: if ($goodInfo) { goto h81pS; } goto ko1kg; BhjN8: KMJs_: goto is7oc; dOcnh: if (!(!$orderInfo && !$mainOrders)) { goto H5AHK; } goto DBc8e; o6XKZ: zlH2z: goto IGHoO; PfJwu: $data["\147\157\157\144\x73"] = $goodInfo; goto uZAEy; lrEM_: $orderInfo["\157\144\x5f\160\x72\151\x63\x65"] = floatval($od_price); goto ubY0C; IGHoO: $goodInfo = array(); goto NLdW0; gp0LY: global $_W, $_GPC; goto AlOSd; DBc8e: return $this->result(1, "\350\xae\xa2\xe5\215\225\346\225\xb0\346\x8d\xae\351\224\231\xe8\257\257"); goto CXuI6; yS7z7: $orderInfo = $O->getOne($code); goto yQmvs; qSRKO: $O = new Order(); goto N_tDu; QLRoB: $filters["\x6f\144\137\x63\x6f\x64\145"] = $orderInfo["\157\x64\x5f\143\x6f\x64\x65"]; goto yOH9d; yOH9d: $goodInfo = $G->getAll($filters); goto pQol6; N_tDu: $G = new OrderGood(); goto ubf1L; ubY0C: pyaSI: goto n5X3o; yQmvs: $filters = array(); goto It3Ap; lrnql: $od_price = 0; goto hiY5z; jhaMY: CZ0Kx: goto PfJwu; wz8DJ: ii063: goto BhjN8; fm6EB: sbBm6: goto qSRKO; sSTCt: } public function doPageGetQrOrder() { goto lksVh; Odo7h: $T = new OrderTicket(); goto FmaJX; G9gd6: $data["\x65\156\x61\x62\154\145\x5f\x6f\162\x64\x65\x72\137\143\157\x64\x65"] = $this->module["\x63\x6f\x6e\146\151\x67"]["\x65\156\141\142\154\145\137\157\x72\x64\x65\x72\137\143\157\x64\145"]; goto zfuMt; dyM3T: gdekw: goto mD3QP; IE7wJ: if (!(empty($_W["\157\160\145\156\151\144"]) || empty($code))) { goto Z4KJZ; } goto jJLOR; kg9Bv: $G = new OrderGood(); goto Odo7h; B7cqI: $data["\x67\x6f\157\x64\163"] = $goodInfo; goto i4SLr; i4SLr: $enable_refund = true; goto l4Dhq; uQNpl: $enable_refund = false; goto dyM3T; NGTTM: $filters["\x6f\x64\137\x63\x6f\x64\145"] = $orderInfo["\x6f\x64\x5f\143\x6f\144\x65"]; goto zT3Be; yChTx: if (!(!$orderInfo || $orderInfo["\157\x64\x5f\163\164\x61\x74\165\x73"] != 1)) { goto Kf5pd; } goto cmvXf; jJLOR: return $this->result(1, "\xe5\x8f\x82\xe6\x95\260\xe9\224\x99\xe8\xaf\257"); goto LeR1V; YLBWB: $data["\x6f\162\144\x65\162"] = $orderInfo; goto uoJMJ; LeR1V: Z4KJZ: goto WTmSK; Sl2Wy: return $this->result(0, "\xe5\x8a\xa0\xe8\275\xbd\xe4\272\214\xe7\273\264\xe7\240\201\350\256\xa2\xe5\x8d\225\346\x88\x90\345\212\x9f", $data); goto gzn4f; dpNkR: unset($v); goto B7cqI; TtFI_: $code = $_GPC["\143\157\x64\x65"]; goto IE7wJ; SpPeT: if ($goodInfo) { goto qbbzM; } goto Uuv0t; zT3Be: $goodInfo = $G->getAll($filters); goto SpPeT; zfuMt: $data["\145\x6e\141\142\x6c\145\x5f\x63\157\144\x65\137\142\x61\162"] = $this->module["\x63\x6f\156\146\x69\147"]["\145\156\141\142\x6c\145\x5f\143\x6f\144\145\x5f\142\x61\162"]; goto Sl2Wy; Uuv0t: return $this->result(1, "\xe8\xae\242\xe5\215\x95\347\x89\xa9\xe5\x93\x81\351\224\x99\xe8\xaf\257"); goto DzZjk; DzZjk: qbbzM: goto P9BeK; lksVh: autoload()->func("\x72\x65\146\x75\156\x64"); goto y20tO; mD3QP: $data["\x65\156\x61\x62\x6c\x65\137\x72\x65\x66\165\x6e\144"] = $enable_refund; goto SqHVU; ZaQy0: $global_refund = $this->module["\x63\157\x6e\146\x69\x67"]["\145\x6e\141\142\154\145\137\162\x65\x66\165\x6e\144"]; goto oxxQf; SqHVU: $data["\145\x6e\x61\x62\154\145\x5f\x66\141\143\x65"] = $this->module["\x63\x6f\x6e\146\151\147"]["\145\x6e\x61\x62\154\x65\137\146\x61\143\145"]; goto G9gd6; l4Dhq: $refundResult = enable_refund($orderInfo["\x6f\144\137\x63\157\144\145"]); goto ZaQy0; ST0bk: $data = array(); goto TtFI_; FmaJX: $orderInfo = $O->getOne($code); goto yChTx; WTmSK: $O = new Order(); goto kg9Bv; P9BeK: foreach ($goodInfo as $k => &$v) { goto lXAaF; KyOgD: if (!$ticketInfo) { goto UfGHp; } goto IuTrA; ETAoc: UfGHp: goto HQBnk; lXAaF: $v["\x67\144\x5f\151\x6d\147"] = tomedia($v["\x67\144\x5f\151\x6d\x67"]); goto Eg1pU; yEe_P: $filters["\147\x64\137\x63\x6f\x64\x65"] = $v["\147\144\137\143\x6f\144\145"]; goto hwCN9; Eg1pU: $filters = array(); goto yEe_P; GBE1f: foreach ($ticketInfo as $ticket) { goto bXWsV; cpDBF: csgxE: goto yBNfc; yBNfc: OnCMz: goto bZYlQ; bXWsV: if (empty($ticket["\164\x6b\x5f\144\141\x74\x65"])) { goto csgxE; } goto im0o9; im0o9: $v["\x67\x64\137\x64\x61\164\x65"] = $ticket["\x74\153\137\x64\x61\x74\145"]; goto cpDBF; bZYlQ: } goto UQnod; IuTrA: $v["\164\151\143\x6b\x65\164"] = $ticketInfo; goto GBE1f; UQnod: GeEy4: goto ETAoc; hwCN9: $ticketInfo = $T->getAll($filters); goto KyOgD; HQBnk: RzY3U: goto Bn7g0; Bn7g0: } goto emWO5; oxxQf: if (!(is_error($refundResult) || $global_refund != 1)) { goto gdekw; } goto uQNpl; iHMQO: Kf5pd: goto YLBWB; uoJMJ: $filters = array(); goto NGTTM; emWO5: KcRwb: goto dpNkR; cmvXf: return $this->result(1, "\xe8\256\xa2\345\x8d\x95\346\225\260\xe6\x8d\256\xe9\x94\231\xe8\257\257"); goto iHMQO; y20tO: global $_W, $_GPC; goto ST0bk; gzn4f: } public function doPageGetQrCode() { goto gtnEm; f1Tn9: iRQ0z: goto PhplC; Zj1Ny: load()->library("\161\x72\x63\x6f\x64\145"); goto ueRgR; R2IuB: Cp87w: goto CjlUz; ueRgR: QRcode::png($code, false, QR_ECLEVEL_Q, 200, 4); goto R2IuB; O_pU1: $code = $_GPC["\143\157\144\x65"]; goto v8cy4; pFH3K: return $this->result(1, "\345\217\x82\346\x95\260\351\224\x99\350\xaf\257\x32\62\62"); goto f1Tn9; v8cy4: if (!empty($code)) { goto iRQ0z; } goto pFH3K; PhplC: if (empty($code)) { goto Cp87w; } goto Zj1Ny; gtnEm: global $_W, $_GPC; goto O_pU1; CjlUz: } public function doPageGetBarCode() { goto pvcex; STLQq: RE5bo: goto tcO7x; e2sCp: $colorFront = new BCGColor(0, 0, 0); goto q0nCP; Hw3dL: $drawing->setBarcode($code); goto Ht14q; E43xj: $code->parse($qrcode); goto rn5uh; q0nCP: $colorBack = new BCGColor(255, 255, 255); goto vHpyt; rn5uh: $drawing = new BCGDrawing('', $colorBack); goto Hw3dL; Ob2R1: $qrcode = $_GPC["\x63\x6f\144\x65"]; goto MGw31; pvcex: global $_W, $_GPC; goto Ob2R1; dE5zC: load()->library("\x62\x61\162\x63\157\x64\x65\x2f\x63\x6c\141\x73\x73\57\x42\x43\107\x44\162\x61\x77\x69\x6e\x67"); goto e2sCp; bFYzn: header("\x43\157\156\x74\145\x6e\x74\x2d\124\x79\x70\x65\x3a\x20\x69\x6d\141\x67\x65\x2f\x70\x6e\x67"); goto V12pu; kUw1c: load()->library("\x62\141\162\143\157\x64\x65\57\x63\154\x61\163\x73\57\102\x43\107\143\157\x64\x65\61\62\x38\56\142\141\162\x63\157\x64\145"); goto dE5zC; MGw31: if (!empty($qrcode)) { goto RE5bo; } goto k7Vfx; plveh: $code->setLabel(''); goto ZXcKu; V12pu: $drawing->finish(BCGDrawing::IMG_FORMAT_PNG); goto CBl3H; k7Vfx: return $this->result(1, "\345\x8f\x82\xe6\225\260\351\x94\x99\xe8\xaf\xaf"); goto STLQq; vHpyt: $code = new BCGcode128(); goto plveh; ZXcKu: $code->setScale(2); goto dL4nz; tcO7x: load()->library("\142\141\162\143\x6f\144\x65\x2f\143\154\x61\163\163\57\102\103\107\103\157\x6c\157\x72"); goto kUw1c; dL4nz: $code->setColor($colorFront, $colorBack); goto E43xj; Ht14q: $drawing->draw(); goto bFYzn; CBl3H: } public function doPageGetScan() { goto TQg7u; ueEd1: to1W5: goto WVnik; M65F2: $ScanService = new ScanService(); goto WoRqX; bEInB: C2zVv: goto xQIwJ; WVnik: $globalConfig = $this->module["\x63\157\x6e\x66\x69\x67"]; goto KoE27; WoRqX: global $_W, $_GPC; goto eoNR6; hcYgs: $shop_id = $_GPC["\163\x68\x6f\160\137\151\x64"]; goto mj8Em; DaDFK: return $this->result(1, $scanResult["\x6d\145\163\163\x61\147\145"]); goto bEInB; UDF5O: if (!is_error($scanResult)) { goto C2zVv; } goto DaDFK; KoE27: $scanResult = $ScanService->authCheckResult($code, $shop_id, $globalConfig); goto UDF5O; aWrBq: return $this->result(1, "\345\x8f\202\346\x95\xb0\351\224\x99\xe8\xaf\xaf"); goto ueEd1; eoNR6: $code = $_GPC["\143\157\x64\145"]; goto hcYgs; mj8Em: if (!(empty($code) || empty($shop_id))) { goto to1W5; } goto aWrBq; xQIwJ: return $this->result(0, "\xe5\212\xa0\350\275\275\345\x95\x86\345\223\201\346\x88\220\xe5\x8a\x9f", $scanResult); goto EoOnM; TQg7u: autoload()->func("\x73\x63\141\156"); goto M65F2; EoOnM: } public function doPageScanCheck() { goto jqNva; KDWCY: global $_W, $_GPC; goto FLi6N; bjxSd: $log = "\xe7\256\xa1\xe7\220\x86\xe5\x91\230\50" . $memberInfo["\165\x5f\x6e\151\143\x6b\x6e\141\x6d\145"] . "\x29\345\260\x8f\347\250\213\xe5\272\x8f\xe7\253\257\xe6\x89\253\xe7\xa0\x81\351\252\x8c\347\245\xa8"; goto I2nP8; Ipo2L: $checkResult = $ScanService->doScanCheck($code, $log, $shopId); goto PLdZU; I2nP8: $_W["\x67\x6c\x6f\142\x61\154\103\x6f\156\x66\151\147"] = $this->module["\143\x6f\x6e\x66\x69\147"]; goto Ipo2L; wc8D8: return $this->result(0, $checkResult["\155\x65\x73\163\x61\x67\x65"], $code); goto Mu75U; PLdZU: if (!is_error($checkResult)) { goto FCrzz; } goto m83vP; zx5G1: autoload()->func("\x77\x78\141\x70\x69"); goto PvsO2; FhnYd: nhA0r: goto Mt5kZ; VwHfT: $SubscribeMessageService->orderCheckNotice($code, $template_id); goto wc8D8; Mt5kZ: $M = new Member(); goto VEMLU; ofFKI: $SubscribeMessageService = new SubscribeMessageService(); goto VwHfT; zjCuV: if ($memberInfo) { goto NYSYo; } goto jdC7W; PvsO2: autoload()->func("\x75\156\151\161\x75\145"); goto KDWCY; A7ZA4: $template_id = $this->module["\x63\x6f\x6e\146\151\x67"]["\164\145\155\x70\x6c\x61\x74\x65\x5f\157\x72\x64\145\x72\x5f\x63\150\x65\x63\153"]; goto ofFKI; jqNva: autoload()->func("\x74\145\x6d\160\154\x61\x74\x65"); goto zx5G1; umFbA: if (!(empty($code) || empty($_W["\157\160\145\x6e\x69\x64"]))) { goto nhA0r; } goto sc8JF; m83vP: return $this->result(1, $checkResult["\x6d\x65\x73\x73\141\147\x65"]); goto NMKgp; ULo6r: $shopId = $memberInfo["\163\150\x6f\160\137\x69\144"]; goto bjxSd; VEMLU: $ScanService = new ScanService(); goto QQ2gW; FLi6N: $code = $_GPC["\x63\x6f\144\x65"]; goto umFbA; EBg87: NYSYo: goto ULo6r; NMKgp: FCrzz: goto A7ZA4; sc8JF: return $this->result(1, "\345\217\202\xe6\225\260\xe9\224\231\xe8\257\257"); goto FhnYd; jdC7W: return $this->result(1, "\xe7\256\xa1\347\x90\206\345\221\230\344\xbf\xa1\346\x81\xaf\351\x94\x99\350\257\xaf"); goto EBg87; QQ2gW: $memberInfo = $M->getOneByOpenid($_W["\x6f\x70\x65\156\151\x64"]); goto zjCuV; Mu75U: } public function doPageGetMember() { goto jGmq5; JwC87: UZEXw: goto GM2af; Z_m84: if (!(!$hasShop && $enable_shop_join)) { goto uNLmv; } goto cOYgF; KStTn: $Shop = new Shop(); goto xqhqv; DsFBL: return $this->result(1, "\344\274\x9a\345\x91\x98\xe4\277\241\346\201\xaf\351\x94\x99\xe8\xaf\xaf"); goto F2pfd; daBhu: $filters["\165\x5f\157\160\145\x6e\151\x64"] = $_W["\x6f\x70\x65\156\x69\x64"]; goto HGNXL; cZV3E: $memberInfo["\x6c\x65\x76\145\154"] = "\346\x99\256\xe9\x80\232\344\xbc\232\345\x91\230"; goto hVPNc; G7023: $memberInfo["\145\156\141\142\154\x65\137\x73\x68\157\160\137\x61\144\155\x69\156"] = true; goto W99fd; ayYFu: $MemberService = new MemberService(); goto roQBY; fwUuy: $memberInfo["\x69\x73\x73\150\157\x77\137\x64\x69\163\164\162\151\x62\x75\x74\x69\157\x6e"] = $isshow_distribution; goto AjsxR; odS8I: $memberInfo["\x67\154\157\142\x61\154\103\157\x6e\x66\151\147"] = $FormatService->formatGlobalConfig($globalConfig); goto xpRoc; AjsxR: $globalConfig = $this->module["\143\157\x6e\146\151\147"]; goto JIrZQ; hVPNc: if (!($memberInfo["\165\137\147\162\141\x64\x65"] > 0)) { goto nSHoq; } goto OV_Js; obsg1: $filters = array(); goto dZ6cJ; CVuGO: if (!($hasShop && $hasShop["\x73\150\x6f\160\x5f\x73\164\141\164\165\163"] == 1)) { goto QisfK; } goto G7023; xpRoc: $enable_shop_join = $this->module["\x63\157\x6e\146\x69\x67"]["\x65\x6e\x61\142\x6c\145\137\163\150\x6f\x70\137\x6a\157\x69\156"]; goto KStTn; pi0Xx: if ($memberInfo) { goto k58BX; } goto DsFBL; F2pfd: k58BX: goto iqLdc; c7id2: if (!$gradeInfo["\x67\x72\141\144\x65\x5f\156\141\x6d\x65"]) { goto ZHnCY; } goto T3dDo; UhlT8: $RefereeService->RefereeEnableCheck($_W["\x6f\160\145\x6e\151\144"], $globalConfig["\x64\x69\163\164\162\151\142\165\164\x69\157\x6e\137\145\x6e\141\x62\154\x65\137\164\171\x70\x65"], $globalConfig["\144\x69\x73\x74\162\x69\142\165\x74\151\x6f\156\137\x65\x6e\141\142\154\145\137\154\151\x6d\x69\x74"]); goto cZV3E; Y1vjc: $memberInfo["\x62\x61\x6c\141\156\143\145"] = "\xe4\xbd\x99\351\xa2\x9d\72" . $memberInfo["\165\x5f\142\141\x6c\141\156\x63\x65"]; goto RNF2T; GM2af: $RefereeService = new DistributionRefereeService(); goto UhlT8; jGmq5: global $_W; goto W2ysq; JIrZQ: $FormatService = new FormatService(); goto odS8I; sfKld: $M = new Member(); goto obsg1; RNF2T: $globalConfig["\x63\x72\145\144\x69\x74\x5f\x63\x6f\x6e\x76\x65\x72\164\137\x72\x61\164\145"] = $globalConfig["\143\x72\145\144\x69\164\137\143\157\x6e\166\145\162\x74\137\162\x61\164\x65"] > 0 ? $globalConfig["\x63\x72\x65\x64\151\164\137\143\157\x6e\166\145\x72\x74\x5f\x72\141\x74\145"] : 10; goto R5K42; zjGoM: return $this->result(1, "\345\217\x82\xe6\x95\xb0\351\x94\x99\350\257\xaf"); goto Z1gdK; spjoo: ZHnCY: goto WwPMf; WwPMf: nSHoq: goto Y1vjc; T3dDo: $memberInfo["\x6c\145\x76\x65\154"] = $gradeInfo["\147\162\141\144\x65\x5f\x6e\141\155\145"]; goto spjoo; eyid2: $memberInfo = $M->getOneByFields($filters); goto pi0Xx; HGNXL: $hasShop = $Shop->getOneByFields($filters); goto Z_m84; cOYgF: $memberInfo["\x65\156\141\142\154\145\137\163\x68\x6f\x70\x5f\x6a\x6f\x69\x6e"] = true; goto nZSrn; xqhqv: $filters = array(); goto daBhu; dZ6cJ: $filters["\165\x5f\x6f\160\145\156\x69\144"] = $_W["\x6f\160\x65\156\x69\x64"]; goto eyid2; jUIwn: if (!($hasShop && $hasShop["\x73\x68\157\160\137\163\164\x61\x74\x75\163"] == 0)) { goto UZEXw; } goto Hha5X; ZGxUj: $gradeInfo = $MemberGradeService->getGradeInfo($memberInfo["\165\x5f\x67\x72\141\x64\x65"]); goto c7id2; Hha5X: $memberInfo["\145\x6e\x61\x62\x6c\x65\x5f\x73\x68\157\160\137\x61\x70\x70\154\x79"] = true; goto JwC87; W99fd: QisfK: goto jUIwn; roQBY: $MemberService->autoUpgrade($_W["\x6f\x70\x65\x6e\x69\x64"]); goto sfKld; Z1gdK: Em4w8: goto ayYFu; OV_Js: $MemberGradeService = new MemberGradeService(); goto ZGxUj; W2ysq: if (!empty($_W["\x6f\x70\145\156\151\x64"])) { goto Em4w8; } goto zjGoM; nZSrn: uNLmv: goto CVuGO; iqLdc: $isshow_distribution = $this->module["\x63\x6f\156\x66\151\x67"]["\x64\151\163\x74\x72\151\x62\x75\164\x69\157\x6e\x5f\151\x73\x5f\145\x6e\141\142\x6c\145"]; goto fwUuy; R5K42: return $this->result(0, "\xe5\212\xa0\xe8\xbd\275\xe4\xbc\232\xe5\221\230\xe6\x88\x90\xe5\x8a\237", $memberInfo); goto BBXDg; BBXDg: } public function doPageMemberInfo() { goto A3kKa; YyoaJ: if (!empty($_W["\157\160\x65\156\x69\x64"])) { goto PzXXH; } goto cm5s8; tm5XR: PzXXH: goto KT2o0; cm5s8: return $this->result(1, "\345\x8f\202\346\225\xb0\xe9\x94\x99\350\xaf\xaf"); goto tm5XR; ZeL6z: if ($memberInfo) { goto rzA5g; } goto jR_z5; IMjzr: return $this->result(0, "\xe5\212\240\xe8\xbd\275\344\274\232\xe5\221\x98\xe6\x88\x90\xe5\x8a\237", $memberInfo); goto JQZPy; jR_z5: return $this->result(1, "\xe4\xbc\x9a\345\221\x98\xe4\277\xa1\xe6\x81\257\351\224\231\350\257\257"); goto W4in4; NJF_n: $filters["\x75\x5f\157\160\145\156\151\x64"] = $_W["\x6f\x70\x65\x6e\151\x64"]; goto Uv3UV; A3kKa: global $_W; goto YyoaJ; W4in4: rzA5g: goto IMjzr; W1w81: $filters = array(); goto NJF_n; Uv3UV: $memberInfo = $M->getOneByFields($filters); goto ZeL6z; KT2o0: $M = new Member(); goto W1w81; JQZPy: } public function doPageAddMember() { goto jH9S8; hnK2i: jgZJG: goto qcYo4; IS4Lx: $res = $M->create($insert); goto yOPlx; j1OxQ: fHxiR: goto qmoKC; eAK7Z: $insert["\x75\x5f\x6e\x69\143\153\x6e\x61\x6d\x65"] = $u_nickname; goto G_dgb; VhO0r: $filters = array(); goto R1Dn0; BAMu9: return $this->result(1, "\345\217\202\xe6\225\xb0\351\224\x99\xe8\257\257"); goto uU0um; R1Dn0: $filters["\165\137\157\x70\x65\x6e\151\144"] = $_W["\157\x70\x65\156\x69\x64"]; goto kQavB; WOsqX: $insert["\x75\x6e\x69\141\143\x69\144"] = $_W["\x75\x6e\x69\141\143\151\x64"]; goto kRlw6; qmoKC: $insert = array(); goto eAK7Z; Z0krM: $M = new Member(); goto EU030; qcYo4: return $this->result(1, "\xe6\267\xbb\345\212\240\344\274\x9a\345\221\x98\xe5\xa4\261\xe8\264\xa5"); goto QuIEh; On56L: return $this->result(0, "\346\xb7\273\xe5\212\240\xe4\274\x9a\345\x91\x98\xe6\x88\220\345\212\237"); goto hnK2i; FM81g: if (!$memberInfo) { goto fHxiR; } goto plUJM; kQavB: $memberInfo = $M->getOneByFields($filters); goto FM81g; EU030: $u_nickname = $_GPC["\x75\x5f\156\151\143\x6b\x6e\x61\155\145"]; goto HEkDK; yOPlx: if (!$res) { goto jgZJG; } goto On56L; jH9S8: global $_GPC, $_W; goto Z0krM; uU0um: i7tMX: goto VhO0r; plUJM: return $this->result(1, "\xe4\274\x9a\345\x91\230\xe5\267\xb2\345\255\x98\345\234\xa8"); goto j1OxQ; Mxj1g: if (!(empty($u_nickname) || empty($u_avatar) || empty($_W["\157\x70\x65\156\151\x64"]))) { goto i7tMX; } goto BAMu9; G_dgb: $insert["\165\x5f\x61\x76\141\164\x61\162"] = $u_avatar; goto WOsqX; HEkDK: $u_avatar = $_GPC["\x75\137\x61\x76\x61\164\x61\x72"]; goto Mxj1g; kRlw6: $insert["\165\137\x6f\160\x65\x6e\x69\x64"] = $_W["\x6f\160\145\156\x69\144"]; goto IS4Lx; QuIEh: } public function doPagePay() { goto Mf11P; N3NhH: DOoXK: goto huYYn; cqwEN: return $this->result(0, "\347\x94\x9f\xe6\x88\220\346\224\257\xe4\273\230\xe5\217\x82\xe6\x95\260\xe6\x88\x90\345\x8a\237", $pay_params); goto ioWRJ; aYDSr: return $this->result(1, $pay_params["\155\x65\x73\163\x61\x67\145"]); goto N3NhH; huYYn: if (empty($pay_params["\160\x61\x63\153\141\x67\x65"])) { goto w0UKc; } goto Tvwij; p4iYk: cache_write($key, $prepay_id); goto gKHqB; ImQN4: load()->func("\x63\141\x63\x68\x65\56" . cache_type()); goto p4iYk; J0qhj: $order = array("\164\151\144" => $orderId, "\165\163\x65\x72" => $_W["\x6f\x70\145\x6e\151\144"], "\x66\x65\x65" => floatval($fee), "\164\151\x74\154\145" => "\346\x94\257\344\273\x98"); goto gIA_Q; gKHqB: w0UKc: goto cqwEN; xY972: $prepay_id = $packageArray[1]; goto RrxDM; Mf11P: global $_GPC, $_W; goto fdjU1; gIA_Q: $pay_params = $this->pay($order); goto oE4Tv; Tvwij: $packageArray = explode("\x3d", $pay_params["\160\x61\143\153\x61\x67\145"]); goto xY972; zXB7G: $orderId = $_GPC["\157\x72\144\x65\x72\x69\x64"]; goto J0qhj; RrxDM: $key = "\x68\x61\167\153\137\155\x75\x6c\x74\x69\163\x68\157\160\137\x70\162\145" . $_W["\x6f\160\145\x6e\x69\144"]; goto ImQN4; fdjU1: $fee = $_GPC["\146\x65\145"]; goto zXB7G; oE4Tv: if (!is_error($pay_params)) { goto DOoXK; } goto aYDSr; ioWRJ: } public function payResult($params) { goto SZLLW; LJWMJ: $ForumService->payResultTop($params); goto BGevE; RKEZP: LK1kF: goto rIioe; X1iOm: $CardService = new CardService(); goto zpUUD; vRvEQ: goto HK7lE; goto Em0st; JfBIA: $globalConfig = $this->module["\x63\x6f\x6e\x66\x69\x67"]; goto GWz3Z; jf3Ut: $CardService->finishRecharge($orderId, $params["\x74\x61\147"]["\164\x72\x61\156\163\x61\x63\164\151\157\x6e\x5f\x69\x64"]); goto o4IKi; AaCTy: if (strpos($orderId, "\164\157\x70") === 0) { goto z7apO; } goto ULOUb; GWz3Z: incomeOtherHandler($orderId, $globalConfig, "\345\x8d\x87\347\xba\247\126\111\120\346\217\x90\346\x88\220"); goto ZRMcC; S8b1s: autoload()->func("\x64\x69\x73\x74\x72\151\x62\x75\x74\151\157\156"); goto JfBIA; ZRMcC: HK7lE: goto tH36S; ULOUb: if (strpos($orderId, "\x76\151\160") === 0) { goto ORgsI; } goto GS_Dt; cNnM6: $_W["\147\x6c\x6f\142\141\154\x43\157\x6e\146\151\147"] = $this->module["\x63\x6f\156\x66\x69\x67"]; goto X1iOm; o4IKi: goto HK7lE; goto cYodY; Bm7nI: global $_W; goto cNnM6; K6vV4: $ForumService = new ForumService(); goto LJWMJ; YqJWA: $CardService = new CardService(); goto jf3Ut; aHK4F: $RewardService = new RewardService(); goto MN1qp; Em0st: z7apO: goto K6vV4; o0mg0: $_W["\x67\154\157\x62\141\154\x43\157\x6e\x66\x69\147"] = $this->module["\143\157\x6e\146\151\147"]; goto YqJWA; H3nDC: goto HK7lE; goto t2oqj; m2BNn: if (strpos($orderId, "\162\x65\x63\150\x61\x72\147\x65") === 0) { goto LK1kF; } goto x1yPu; CZRWq: $PayResultService = new PayResultService($globalConfig); goto wNMIN; ts81A: $MemberService = new MemberService(); goto TO7cs; ovO7r: goto HK7lE; goto RKEZP; K7VlH: $globalConfig = $this->module["\143\157\156\x66\x69\147"]; goto M7UXP; x1yPu: if (strpos($orderId, "\x61\x75\144\151\x74") === 0) { goto qg9FE; } goto qBiOx; BGevE: goto HK7lE; goto zyJgC; MN1qp: $RewardService->rewardPaySuccess($orderId, $params); goto vRvEQ; M7UXP: incomeOtherHandler($orderId, $globalConfig, "\xe8\272\xab\344\273\275\350\xae\xa4\350\257\201\xe6\217\x90\xe6\x88\220"); goto H3nDC; cYodY: qg9FE: goto Bm7nI; qBiOx: if (strpos($orderId, "\162\x65\167\141\162\x64") === 0) { goto nu4RK; } goto AaCTy; rIioe: global $_W; goto o0mg0; zyJgC: ORgsI: goto ts81A; TO7cs: $MemberService->payResultUpgradeVip($params); goto S8b1s; zpUUD: $CardService->finishAudit($orderId, $params["\x74\x61\147"]["\x74\162\x61\156\x73\141\143\x74\151\x6f\156\x5f\151\144"]); goto YYPad; GS_Dt: $globalConfig = $this->module["\143\157\x6e\x66\151\x67"]; goto CZRWq; wNMIN: $PayResultService->payResult($params); goto ovO7r; t2oqj: nu4RK: goto aHK4F; SZLLW: $orderId = $params["\x74\x69\144"]; goto m2BNn; YYPad: autoload()->func("\x64\x69\x73\164\162\151\142\x75\164\x69\x6f\156"); goto K7VlH; tH36S: } public function doPageGetMapMarkers() { goto tq0Vc; hqPLG: if (!$products) { goto OD6T8; } goto DP7Vu; tq0Vc: global $_W, $_GPC; goto Ec2CK; dGYOm: $filters = array(); goto M7tkU; zpU_L: $points = array(); goto Fxkf6; lSshx: if (!empty($markers)) { goto R1xb_; } goto rTCAr; jmyuZ: $pageSize = 20; goto gUtCj; m4LoW: r1JnG: goto sjEzw; TEbrt: $data["\160\x6f\151\156\164\x73"] = $points; goto CZ0fa; NSlqV: $P = new Product(); goto Wa0Sn; rTCAr: return $this->result(1, "\xe5\x8a\240\350\275\275\xe6\240\207\xe8\256\xb0\xe7\202\271\xe5\xa4\xb1\350\264\245"); goto V3Xth; Ec2CK: $markers = array(); goto zpU_L; ROwuC: $data = array(); goto qYw5m; Fpkvx: $filters["\x70\x72\157\x5f\x73\164\141\x74\x75\163"] = 0; goto NIUqk; Fxkf6: $A = new Article(); goto NSlqV; M7tkU: $filters["\141\143\137\x73\164\141\164\165\163"] = 0; goto pjuX0; Lc27T: foreach ($articles as $k => $v) { goto ZEhpB; FjJHy: $point["\x6c\x61\164\151\164\165\x64\x65"] = $v["\141\x63\137\154\141\164\151\164\165\144\x65"]; goto eET7n; S2yYQ: $marker["\154\x61\x74\151\x74\165\x64\145"] = $v["\x61\x63\137\154\x61\x74\151\x74\165\144\x65"]; goto td6M1; nZQGP: $marker["\151\144"] = $markerId; goto RoDT2; Hf7WF: $points[] = $point; goto wW20K; td6M1: $marker["\x6c\x6f\156\147\x69\x74\165\x64\x65"] = $v["\x61\143\137\x6c\x6f\156\147\x69\x74\165\144\145"]; goto ZGSc_; oRPaO: NUYeQ: goto umS4n; eET7n: $point["\154\x6f\x6e\147\x69\x74\x75\144\145"] = $v["\141\x63\x5f\154\x6f\156\x67\x69\x74\x75\x64\x65"]; goto Hf7WF; u6Qg2: $markers[] = $marker; goto SzryA; MCPhN: $marker["\164\171\x70\145"] = 0; goto u6Qg2; wW20K: $markerId++; goto oRPaO; ZGSc_: $marker["\164\x69\164\x6c\x65"] = $v["\141\x63\137\x6b\x65\x79\x77\157\x72\144"]; goto MCPhN; ZEhpB: $marker = array(); goto nZQGP; SzryA: $point = array(); goto FjJHy; kY11w: $marker["\163\x69\156\147\154\x65"] = $v["\141\143\137\x6d\141\160\x5f\x73\151\156\147\x6c\145"]; goto S2yYQ; RoDT2: $marker["\143\157\x64\x65"] = $v["\141\x63\137\x69\x64"]; goto kY11w; umS4n: } goto m4LoW; jMJAc: $markerId = 0; goto wfCCD; cZEQN: $filters = array(); goto Fpkvx; RFIwx: $articles = $A->getAllByPage($filters, $page, $pageSize, $total, "\x61\143\x5f\x77\145\151\x67\x68\x74\40\104\105\x53\x43"); goto jMJAc; V3Xth: R1xb_: goto ROwuC; CZ0fa: return $this->result(0, "\xe5\212\240\xe8\275\xbd\xe5\x9c\xb0\xe5\233\xbe\xe6\240\207\350\256\260\xe6\210\220\xe5\x8a\x9f", $data); goto gGtOp; DP7Vu: foreach ($products as $k => $v) { goto CXz32; vwiHT: $point["\x6c\x6f\156\x67\151\x74\x75\144\x65"] = $v["\160\x72\157\137\x6c\x6f\x6e\147\x69\x74\x75\x64\x65"]; goto Cujt8; yDe5E: $markers[] = $marker; goto H831I; Zvfjo: $marker["\154\x61\x74\x69\x74\x75\144\145"] = $v["\160\x72\x6f\x5f\x6c\141\164\x69\164\x75\x64\x65"]; goto Y4vqn; zhGjb: $point = array(); goto Y22RL; Cujt8: $points[] = $point; goto yDe5E; RJ5fO: $marker["\x73\151\156\147\x6c\145"] = $v["\160\162\x6f\x5f\155\141\x70\137\x73\151\156\147\154\x65"]; goto Zvfjo; NnD5_: $marker["\143\x6f\144\x65"] = $v["\x70\x72\157\137\x63\x6f\144\x65"]; goto RJ5fO; EOU33: sBBfv: goto VOjFV; H831I: $markerId++; goto EOU33; llGEU: $marker["\151\x64"] = $markerId; goto NnD5_; Zcql0: $marker["\164\x69\x74\x6c\145"] = $v["\160\x72\x6f\137\153\x65\171\x77\157\162\144"]; goto LjqiG; Y4vqn: $marker["\154\157\156\x67\x69\x74\165\x64\145"] = $v["\x70\x72\157\x5f\154\x6f\156\147\x69\164\165\144\145"]; goto Zcql0; LjqiG: $marker["\x74\x79\160\145"] = $v["\x70\162\157\137\164\171\x70\x65"]; goto zhGjb; CXz32: $marker = array(); goto llGEU; Y22RL: $point["\154\x61\x74\151\164\165\x64\x65"] = $v["\x70\x72\x6f\137\x6c\x61\x74\x69\164\x75\144\145"]; goto vwiHT; VOjFV: } goto rrh33; qYw5m: $data["\x6d\x61\x72\153\145\x72\163"] = $markers; goto TEbrt; NIUqk: $filters["\160\162\157\137\155\141\x70"] = 1; goto nFvat; wfCCD: if (!$articles) { goto VIXiJ; } goto Lc27T; pjuX0: $filters["\x61\x63\x5f\x6d\141\160"] = 1; goto RFIwx; UDq9c: $page = max($page, 1); goto jmyuZ; rrh33: WPyv4: goto PitdM; sjEzw: VIXiJ: goto cZEQN; Wa0Sn: $page = intval($_GPC["\160\x61\147\145"]); goto UDq9c; PitdM: OD6T8: goto lSshx; nFvat: $products = $P->getAllByPage($filters, $page, $pageSize, $total, "\x70\x72\157\x5f\167\145\151\147\x68\164\x20\104\105\x53\x43"); goto hqPLG; gUtCj: $total = 0; goto dGYOm; gGtOp: } public function doPageDistributionQr() { goto maS2g; fF2cL: $qrLocation = $this->module["\143\x6f\x6e\x66\x69\147"]["\x71\x72\x6c\157\143\141\164\151\x6f\x6e"]; goto BRAwZ; O610_: q1G_E: goto DCQV2; PKqMs: return $this->result(0, "\347\224\237\xe6\x88\x90\xe4\272\x8c\347\273\264\xe7\xa0\x81\346\x88\x90\xe5\212\x9f", $qrUrl); goto p7VbL; L5RPo: $qrFile = ATTACHMENT_ROOT . "\x68\x61\x77\153\x5f\155\x75\154\164\x69\163\150\157\x70\57\161\x72\143\157\144\x65\57" . $uniKey . "\x2e\160\x6e\x67"; goto CIj5t; O_QMO: $qrUrl = str_replace(ATTACHMENT_ROOT, $_W["\163\x69\164\145\162\x6f\157\x74"] . "\141\x74\x74\141\143\x68\155\x65\156\x74\57", $qrPath) . "\77\164\151\x6d\x65\75" . $cacheTime; goto DYws1; GAvDQ: if (!empty($cacheTime)) { goto sJI7H; } goto kOyAh; lcx7n: global $_W, $_GPC; goto ZzspS; iyAc_: $qrConfig["\x6e\x69\143\x6b\x4e\x61\155\x65\x50\x6f\x73\x69\x74\x69\157\156"] = $nickNamePosition; goto NUfEc; sDI58: $avatarSize["\150\x65\151\x67\x68\164"] = $qrLocationArray[5]; goto zdTtb; CVL5g: $M = new Member(); goto lwXqp; GnP9V: $qrConfig["\x61\x76\141\164\141\x72\x50\x6f\163\151\164\x69\157\x6e"] = $avatarPosition; goto iyAc_; ipJa7: $qrResult = getQr($qrConfig, $qrFile); goto ofupp; DCQV2: $qrFile = $qrResult["\x6d\145\x73\x73\141\147\x65"]; goto Z5uWf; l0rWT: $nickNamePosition["\170"] = $qrLocationArray[8]; goto S7F7s; WTBam: sJI7H: goto wPgRm; vPV80: oUOhd: goto Uyv0z; BfJBB: $avatarPosition["\171"] = $qrLocationArray[7]; goto l0rWT; r7tl3: T6QO2: goto ipJa7; M3JSG: $qrSize["\150\145\151\x67\x68\164"] = $qrLocationArray[1]; goto F_Apm; Xu95a: goto Oq0HZ; goto r7tl3; kOyAh: $cacheTime = time(); goto tSjA0; dCvJu: Gv0di: goto dvhXD; mzfdf: $BgQr = new BgQr($_W["\157\x70\x65\156\151\x64"], $qrConfig); goto v33If; NrYu0: $qrConfig["\161\x72\123\151\x7a\x65"] = $qrSize; goto d0KTX; Ost6D: r3SPY: goto fF2cL; l3z70: $avatarSize["\x77\x69\x64\x74\150"] = $qrLocationArray[4]; goto sDI58; F_Apm: $qrPosition["\170"] = $qrLocationArray[2]; goto Zgl7W; exAwU: $qrLocationArray = explode("\54", $qrLocation); goto Gp_YC; dvhXD: if (empty($fonts)) { goto r3SPY; } goto z_FQl; ZzspS: if (!empty($_W["\157\x70\x65\x6e\x69\x64"])) { goto oUOhd; } goto w6w2C; IsXgp: cache_write("\142\147\x49\155\147\x54\x69\x6d\145", $cacheTime); goto O_QMO; TzzsD: $qrConfig = array("\x73\143\x65\156\x65" => $_W["\x6f\160\x65\156\x69\x64"], "\x70\141\x67\x65" => "\150\141\167\x6b\137\155\x75\x6c\x74\151\x73\x68\x6f\160\x2f\x70\141\x67\145\163\57\144\x69\x73\x74\x72\151\142\165\x74\x69\x6f\156\x2f\x64\x69\x73\164\x72\x69\142\165\x74\x69\x6f\156", "\x77\x69\x64\164\x68" => 300, "\x6c\x69\156\x65\x5f\143\x6f\154\157\x72" => array("\x72" => 0, "\x67" => 139, "\x62" => 69)); goto L5RPo; Z5uWf: $bgImgUrl = tomedia($this->module["\143\x6f\156\x66\151\147"]["\x64\151\163\164\162\x69\142\x75\164\x69\x6f\156\137\142\x67\111\x6d\x67"]); goto CVL5g; S7F7s: $nickNamePosition["\x79"] = $qrLocationArray[9]; goto NrYu0; IxwAw: if (empty($qrFontColor)) { goto tx227; } goto BMDej; m4b2i: $cacheTime = time(); goto IsXgp; v33If: $qrPath = $BgQr->getQr($bgImgUrl, $qrFile, $avatarUrl, $memberInfo["\165\x5f\156\151\x63\x6b\156\141\155\145"]); goto m4b2i; mNt_d: $qrUrl = str_replace(ATTACHMENT_ROOT, $_W["\163\x69\x74\x65\x72\x6f\x6f\164"] . "\141\x74\164\141\x63\150\x6d\x65\x6e\164\57", $qrPath) . "\x3f\164\x69\x6d\145\75" . $cacheTime; goto Xu95a; Gp_YC: $qrSize["\167\151\x64\x74\x68"] = $qrLocationArray[0]; goto M3JSG; wPgRm: if (!is_file($targetFile)) { goto T6QO2; } goto cgEEN; CIj5t: $targetFile = ATTACHMENT_ROOT . "\x68\x61\x77\153\x5f\155\x75\154\x74\151\x73\x68\x6f\x70\x2f\164\141\162\147\x65\164\57" . $uniKey . "\x2e\x70\156\x67"; goto FKm4Y; w6w2C: return $this->result(1, "\xe5\x8f\202\xe6\x95\xb0\xe9\224\231\350\xaf\xaf"); goto vPV80; d0KTX: $qrConfig["\161\x72\120\x6f\163\151\x74\151\157\x6e"] = $qrPosition; goto AKdnr; FEZSQ: autoload()->classes("\x62\x67\x51\x72"); goto lcx7n; Zgl7W: $qrPosition["\171"] = $qrLocationArray[3]; goto l3z70; FKm4Y: $cacheTime = cache_read("\142\147\111\x6d\x67\124\151\x6d\x65"); goto GAvDQ; Uyv0z: $uniKey = $_W["\x6f\x70\145\x6e\151\144"]; goto TzzsD; NUfEc: qWUNH: goto mzfdf; n19DH: autoload()->classes("\x69\x6d\147\x55\164\151\x6c"); goto DZouD; DYws1: Oq0HZ: goto PKqMs; QqqPp: $qrFontColor = $this->module["\143\x6f\x6e\146\151\x67"]["\161\x72\x66\x6f\x6e\164\x63\157\x6c\157\162"]; goto xBxjn; z_FQl: $qrConfig["\x66\157\x6e\x74\x73"] = $fonts; goto Ost6D; DZouD: autoload()->classes("\x69\x6d\x67"); goto FEZSQ; lwXqp: $memberInfo = $M->getOneByOpenid($_W["\157\160\145\156\151\144"]); goto Xi6IO; RjvH_: $qrConfig = array(); goto FnDHS; s8L7P: if (empty($qrFontSize)) { goto Gv0di; } goto MTWci; zdTtb: $avatarPosition["\x78"] = $qrLocationArray[6]; goto BfJBB; maS2g: autoload()->func("\x77\x78\x61\x70\151"); goto n19DH; tSjA0: cache_write("\142\x67\111\x6d\x67\x54\x69\155\145", $cacheTime); goto WTBam; AKdnr: $qrConfig["\141\166\x61\x74\x61\162\123\x69\172\x65"] = $avatarSize; goto GnP9V; Xi6IO: $avatarUrl = $memberInfo["\x75\137\x61\166\141\x74\x61\x72"]; goto RjvH_; BMDej: $fonts["\143\157\x6c\x6f\x72"] = $qrFontColor; goto U3f7N; U3f7N: tx227: goto s8L7P; MTWci: $fonts["\163\x69\x7a\x65"] = $qrFontSize; goto dCvJu; BRAwZ: if (empty($qrLocation)) { goto qWUNH; } goto exAwU; ofupp: if (!is_error($qrResult)) { goto q1G_E; } goto PETP1; PETP1: return $this->result(1, $qrResult["\155\x65\163\x73\x61\147\x65"]); goto O610_; xBxjn: $qrFontSize = $this->module["\x63\157\156\x66\x69\x67"]["\161\x72\146\x6f\x6e\164\x73\x69\172\x65"]; goto IxwAw; cgEEN: $qrPath = $targetFile; goto mNt_d; FnDHS: $fonts = array(); goto QqqPp; p7VbL: } public function doPageAddReferee() { goto tLvUz; gvlu7: $RefereeService = new DistributionRefereeService(); goto AQrbi; gffUH: $father = ''; goto ooyLx; ooyLx: goto uIWNy; goto Ot1cx; YNQL0: if (!$map) { goto I8D1X; } goto nnMSS; tLvUz: global $_W, $_GPC; goto AvX6p; Ot1cx: kyVxc: goto ed12b; YhfFa: $SM = new SceneMap(); goto IqZry; ed12b: $father = $_GPC["\x66\x61\x74\x68\145\162"]; goto KrKrm; nnMSS: $father = $map["\x75\137\157\x70\x65\x6e\151\144"]; goto Zep6T; KrKrm: uIWNy: goto xFcTO; Zep6T: I8D1X: goto MBPaC; IqZry: $filters = array(); goto oxcHI; Ywv4X: if (!is_error($refereeResult)) { goto YP2eq; } goto wyqmZ; xFcTO: if (!(!empty($_GPC["\163\x63\x65\156\145"]) && $_GPC["\163\x63\x65\156\x65"] != "\x75\156\x64\145\146\x69\156\145\x64")) { goto PDWSj; } goto YhfFa; AvX6p: if (!empty($_GPC["\146\x61\x74\150\145\x72"]) && $_GPC["\146\x61\x74\150\x65\x72"] != "\x75\156\144\145\x66\151\x6e\145\x64") { goto kyVxc; } goto gffUH; uVQgH: $map = $SM->getOneByFields($filters); goto YNQL0; gz_30: YP2eq: goto dsbSY; dsbSY: return $this->result(0, "\346\xb7\xbb\345\x8a\240\xe6\216\xa8\xe8\215\x90\xe4\xba\xba\xe6\x88\220\xe5\212\x9f"); goto n4VYD; AQrbi: $refereeResult = $RefereeService->addReferee($_W["\x6f\160\x65\156\151\x64"], $father); goto Ywv4X; oxcHI: $filters["\163\155\137\153\145\x79"] = $_GPC["\163\143\145\x6e\145"]; goto uVQgH; wyqmZ: return $this->result(1, $refereeResult["\155\145\x73\163\x61\x67\145"]); goto gz_30; MBPaC: PDWSj: goto gvlu7; n4VYD: } public function doPageSceneToReferee() { goto r4FXH; IeSXt: $code = $map["\x73\x6d\x5f\x63\x6f\144\145"]; goto IiMrz; V2CFg: if (!$map) { goto S84Fq; } goto hKK21; IiMrz: $data = array("\x63\x6f\x64\145" => $code, "\x72\145\x66\145\x72\145\x65" => $father); goto HA7Wv; DQ_fl: o_UUi: goto GAdej; hKK21: $father = $map["\165\137\x6f\160\145\x6e\x69\x64"]; goto IeSXt; ieDzU: if (empty($_GPC["\x73\143\145\156\x65"])) { goto o_UUi; } goto dDXAV; gkkKy: $filters = array(); goto J_Xfs; cv19R: S84Fq: goto DQ_fl; yqvKb: $map = $SM->getOneByFields($filters); goto V2CFg; HA7Wv: return $this->result(0, "\xe8\247\xa3\xe6\236\220\xe6\x8e\250\350\215\x90\344\xba\272\346\x88\220\xe5\212\237", $data); goto cv19R; J_Xfs: $filters["\x73\x6d\x5f\x6b\145\x79"] = $_GPC["\x73\143\145\156\145"]; goto yqvKb; dDXAV: $SM = new SceneMap(); goto gkkKy; GAdej: return $this->result(1, "\350\xa7\xa3\xe6\236\x90\xe6\x8e\xa8\350\x8d\x90\344\xba\272\xe5\244\xb1\xe8\264\245"); goto MWVTm; r4FXH: global $_W, $_GPC; goto ieDzU; MWVTm: } public function doPageDistribution() { goto yNimj; ZnZI8: $data["\x67\154\x6f\x62\141\154\x43\x6f\x6e\x66\x69\147"] = $FormatService->formatGlobalConfig($globalConfig); goto iN_5r; s5pY4: global $_W; goto qj2gW; vHiF7: $filters["\165\137\157\160\145\x6e\x69\144"] = $_W["\157\160\145\156\x69\x64"]; goto JH1yF; ycixS: $data["\x69\156\143\x6f\155\145\103\x6f\165\156\x74"] = $count; goto y_jJ9; t0_C_: $count = $count ? $count : 0; goto ycixS; UxPia: return $this->result(1, "\xe5\217\x82\346\225\xb0\351\x94\x99\xe8\xaf\257"); goto ukyLw; ljoln: $R = new DistributionReferee(); goto ZY2RN; lzeBP: $teamArray = getMyTeamArray($_W["\157\160\145\156\x69\x64"], $level); goto OWeoX; PmeLm: $filters = array(); goto hEMHe; ZvIpn: return $this->result(1, "\xe4\274\232\xe5\221\230\344\xbf\xa1\346\x81\xaf\351\224\x99\xe8\xaf\257"); goto l9A9O; EsRv6: $refereeInfo["\x72\x66\x5f\x61\x6c\x6c\x6f\167\155\157\156\x65\171"] = $refereeInfo["\x72\146\x5f\x61\154\154\x6f\167\155\157\156\x65\x79"] > 0 ? floor($refereeInfo["\162\146\137\x61\x6c\154\157\x77\x6d\157\x6e\x65\171"] * 100) / 100 : 0; goto c0Eig; r3m4B: $filters["\144\163\x5f\x73\164\x61\x74\x75\163"] = 0; goto fjX8G; xFXEf: return $this->result(1, "\346\x82\xa8\xe8\277\x98\xe4\270\x8d\346\230\257\xe5\x88\x86\351\224\x80\345\225\206"); goto DvaAn; yHgoc: $fatherInfo = $M->getOneByFields($filters); goto HaZtK; y_jJ9: $filters = array(); goto vHiF7; iN_5r: return $this->result(0, "\345\x8a\xa0\xe8\275\275\344\xbc\x9a\xe5\221\x98\346\210\x90\345\x8a\x9f", $data); goto BmANQ; zJpkH: $data["\x77\151\164\150\x64\162\x61\167\103\x6f\x75\x6e\164"] = $count; goto uviRM; l9A9O: Cc04U: goto QpZSD; FhdZD: $globalConfig = $this->module["\143\157\x6e\x66\151\147"]; goto ZnZI8; c0Eig: $data["\162\x65\x66\145\162\145\x65\x49\156\x66\x6f"] = $refereeInfo; goto q2Yog; HWmBU: if ($memberInfo) { goto Cc04U; } goto ZvIpn; JH1yF: $count = $DW->getAllCount($filters); goto BnHNp; qj2gW: if (!empty($_W["\157\160\145\156\151\x64"])) { goto Sj0I2; } goto UxPia; BnHNp: $count = $count ? $count : 0; goto zJpkH; OWeoX: $data["\164\x65\141\x6d\x54\157\164\141\x6c"] = getTeamTotal($teamArray); goto Tulzn; fjX8G: $count = $DI->getAllCount($filters); goto t0_C_; ATuM7: $data = array(); goto PmeLm; C6JOY: $refereeInfo = $R->getOneByFields($filters); goto mIP9D; hEMHe: $filters["\165\137\x6f\x70\145\156\x69\x64"] = $_W["\x6f\160\x65\156\151\x64"]; goto kbZQD; Pw7tF: $filters = array(); goto m8ILc; kygad: if (empty($refereeInfo["\x72\x66\137\x66\x61\164\150\x65\x72"])) { goto jonaF; } goto jgWNS; DvaAn: pO72H: goto JYXk0; q2Yog: fIkiS: goto kygad; HaZtK: if (!$fatherInfo) { goto ySDi2; } goto J6zxe; Tulzn: $FormatService = new FormatService(); goto FhdZD; xzfqp: $DW = new DistributionWithdraw(); goto ATuM7; NrSIM: $refereeInfo["\162\146\137\x61\x6c\154\x6f\167\155\157\x6e\145\171"] = $refereeInfo["\x72\146\137\164\157\164\x61\154\x6d\x6f\156\x65\171"] - $refereeInfo["\162\146\x5f\x75\163\x65\144\x6d\x6f\156\145\171"] - $refereeInfo["\x72\146\x5f\141\x70\160\154\x79\155\157\156\x65\171"]; goto EsRv6; aRuhK: $M = new Member(); goto ljoln; kbZQD: $memberInfo = $M->getOneByFields($filters); goto HWmBU; Jhrnp: jonaF: goto bcJy5; jgWNS: $filters = array(); goto Ll2BO; bcJy5: $data["\x6d\145\x6d\x62\145\x72\111\156\146\157"] = $memberInfo; goto AoNgO; J6zxe: $data["\146\141\164\150\145\162"] = $fatherInfo; goto t_mYt; bGtOH: $filters["\x75\137\157\x70\145\x6e\151\144"] = $_W["\157\160\x65\156\x69\x64"]; goto r3m4B; t_mYt: ySDi2: goto Jhrnp; uviRM: $level = $this->module["\x63\157\x6e\x66\151\x67"]["\144\151\x73\x74\162\x69\142\x75\164\151\x6f\x6e\x5f\154\145\x76\145\x6c"]; goto RDFF2; JYXk0: if (!$refereeInfo) { goto fIkiS; } goto NrSIM; ukyLw: Sj0I2: goto aRuhK; mIP9D: if (!($refereeInfo["\x72\x66\137\x69\x73\137\145\x6e\141\142\x6c\x65"] != 1)) { goto pO72H; } goto xFXEf; Ll2BO: $filters["\x75\x5f\x6f\x70\x65\156\x69\144"] = $refereeInfo["\x72\x66\x5f\x66\141\x74\x68\145\x72"]; goto yHgoc; QpZSD: $data["\155\145\x6d\x62\x65\162\111\156\x66\x6f"] = $memberInfo; goto Pw7tF; ZY2RN: $DI = new DistributionIncome(); goto xzfqp; yNimj: autoload()->func("\144\x69\163\164\x72\x69\142\x75\x74\x69\x6f\156"); goto s5pY4; AoNgO: $filters = array(); goto bGtOH; m8ILc: $filters["\x75\x5f\157\160\145\x6e\151\144"] = $_W["\x6f\x70\x65\156\x69\144"]; goto C6JOY; RDFF2: $level = isset($level) ? $level : 3; goto lzeBP; BmANQ: } public function doPageGetIncome() { goto Tluo_; s5BYi: if ($ds) { goto GnZ_P; } goto iq7sZ; UeQm4: $pageSize = 20; goto Jpe2k; XNF_U: $ds = $DI->getAllByPage($filters, $page, $pageSize, $total, "\144\163\x5f\x69\144\x20\104\105\123\103"); goto s5BYi; SalVE: $filters["\x75\x5f\x6f\160\x65\156\151\144"] = $_W["\x6f\160\x65\x6e\x69\144"]; goto sJGuO; P_kiA: $filters = array(); goto SalVE; sJGuO: $filters["\144\163\137\x73\164\x61\x74\165\x73"] = 0; goto XNF_U; qvOpG: return $this->result(1, "\xe5\217\202\xe6\x95\260\xe9\224\231\350\xaf\xaf"); goto cGrhu; aebtK: if (!empty($_W["\x6f\x70\145\156\151\144"])) { goto AkRAQ; } goto qvOpG; D9yxO: global $_W, $_GPC; goto aebtK; AL3Ts: $page = intval($_GPC["\x70\x61\147\145"]); goto npVRC; cGrhu: AkRAQ: goto IXrj8; EtXmq: return $this->result(0, "\xe5\x8a\xa0\xe8\xbd\xbd\xe6\224\xb6\345\205\245\346\x98\x8e\xe7\xbb\206\346\x88\x90\xe5\212\237", $ds); goto FCmBT; Jpe2k: $total = 0; goto P_kiA; iq7sZ: return $this->result(1, "\346\x95\xb0\xe6\x8d\256\344\xb8\215\xe5\xad\x98\345\234\xa8"); goto TjaJA; cWNjj: t6ddV: goto EtXmq; Tluo_: autoload()->func("\x64\x69\x73\x74\162\151\x62\x75\x74\x69\157\156"); goto D9yxO; npVRC: $page = max($page, 1); goto UeQm4; TjaJA: GnZ_P: goto BXZss; IXrj8: $DI = new DistributionIncome(); goto iNa8t; BXZss: foreach ($ds as $k => &$v) { goto k7N8s; bb6Hx: $filters["\x75\137\157\160\145\x6e\151\x64"] = $v["\144\163\137\x6f\160\145\156\151\x64"]; goto u0OS8; LXI9H: rNswm: goto uj87g; ZKd6K: $v["\x72\145\x66\145\162\x65\x65"] = $fatherInfo; goto HsJcT; pjLSC: $v["\155\145\x6d\x62\x65\x72\111\156\x66\x6f"] = $distributionMemberInfo; goto xNRhG; TXgyr: FI0gR: goto muvpb; HAmbA: $fatherInfo = get_father($v["\144\x73\137\157\x70\x65\x6e\x69\144"]); goto Ov1Ek; u0OS8: $distributionMemberInfo = $M->getOneByFields($filters); goto AU833; Ov1Ek: if (is_error($fatherInfo)) { goto rNswm; } goto V0bTX; k7N8s: if (empty($v["\x64\163\x5f\x6f\160\x65\156\x69\144"])) { goto GnFcW; } goto OYMav; AU833: if (!$distributionMemberInfo) { goto Q8ljR; } goto pjLSC; V0bTX: if (!($fatherInfo["\165\x5f\157\x70\145\x6e\151\x64"] != $_W["\157\160\145\x6e\x69\x64"])) { goto pq7DI; } goto ZKd6K; Tg0cu: $v["\x64\163\x5f\x63\162\145\x61\x74\145\164\151\155\x65"] = date("\131\55\155\55\144\40\x48\x3a\151", strtotime($v["\x64\163\137\x63\x72\x65\141\x74\x65\164\151\x6d\x65"])); goto TXgyr; uj87g: GnFcW: goto Tg0cu; HsJcT: pq7DI: goto LXI9H; xNRhG: Q8ljR: goto HAmbA; OYMav: $filters = array(); goto bb6Hx; muvpb: } goto cWNjj; iNa8t: $M = new Member(); goto AL3Ts; FCmBT: } public function doPageGetWithdraw() { goto VKlTF; oBJv7: return $this->result(1, "\345\217\x82\346\225\260\xe9\x94\231\xe8\xaf\257"); goto q8msh; Wpl9W: $refereeInfo["\167\141\x69\x74\x4d\157\156\145\171"] = floor($waitMoney) * 100 / 100; goto uc05C; ulgdH: $refereeInfo["\x61\x6c\x6c\x6f\167\x4d\157\x6e\145\171"] = floor($allowMoney) * 100 / 100; goto RDkOc; lugQF: $DR = new DistributionReferee(); goto wTcSU; T3TLv: $waitMoney = $waitMoney > 0 ? $waitMoney : 0; goto Wpl9W; q1l9H: if (!empty($_W["\x6f\x70\x65\156\x69\144"])) { goto iNzH1; } goto oBJv7; q8msh: iNzH1: goto lugQF; bsfnm: if (!$refereeInfo) { goto yo672; } goto k1uSH; fWIts: $refereeInfo["\155\151\156\x4c\x69\155\x69\164"] = $withdraw_minLimit; goto GMY9G; GMY9G: return $this->result(0, "\xe5\x8a\240\350\xbd\275\345\210\206\351\224\x80\xe7\x94\xa8\346\x88\xb7\346\x95\260\xe6\x8d\xae\xe6\210\220\xe5\x8a\237", $refereeInfo); goto zM6q4; QzBqM: $allowMoney = $allowMoney > 0 ? $allowMoney : 0; goto ulgdH; RDkOc: $waitMoney = $refereeInfo["\162\146\137\164\157\164\141\x6c\155\157\156\x65\x79"] - $refereeInfo["\x72\x66\137\165\163\145\x64\x6d\x6f\156\145\171"]; goto T3TLv; B4UMB: $withdraw_minLimit = $withdraw_minLimit > 0 ? $withdraw_minLimit : 0; goto fWIts; zM6q4: yo672: goto Qzrbc; k1uSH: $allowMoney = $refereeInfo["\x72\146\137\164\157\164\x61\x6c\x6d\157\x6e\145\x79"] - $refereeInfo["\162\146\137\x75\163\145\x64\155\x6f\x6e\145\171"] - $refereeInfo["\162\x66\x5f\141\160\160\x6c\x79\x6d\157\156\x65\171"]; goto QzBqM; VKlTF: global $_W, $_GPC; goto q1l9H; wTcSU: $refereeInfo = $DR->getOneByOpenid($_W["\157\x70\x65\x6e\x69\144"]); goto bsfnm; uc05C: $withdraw_minLimit = $this->module["\x63\x6f\156\x66\x69\147"]["\167\x69\x74\150\x64\x72\141\x77\x5f\x6d\151\156\x4c\151\155\x69\164"]; goto B4UMB; Qzrbc: return $this->result(1, "\xe5\x8a\xa0\350\xbd\275\345\210\x86\xe9\x94\x80\346\225\xb0\346\x8d\xae\351\224\231\350\xaf\257"); goto SYe_U; SYe_U: } public function doPageWithdraw() { goto iGWPc; UDZsQ: return $this->result(1, "\xe5\xb0\217\xe4\272\x8e\346\x9c\200\xe4\xbd\216\xe5\x8f\xaf\346\217\220\347\x8e\xb0\351\207\x91\xe9\xa2\235" . $withdraw_minLimit . "\xe5\205\203"); goto MyIJy; fBCq0: $insert = array(); goto Sd4i3; mov2a: $updateResult = $DR->modifyByOpenid($_W["\x6f\x70\145\x6e\x69\144"], $update); goto XFXKk; iGWPc: global $_W, $_GPC; goto u2H5O; lg_Bk: $appKey = $this->module["\x63\x6f\x6e\x66\x69\147"]["\x73\155\x73\137\141\160\x70\113\x65\x79"]; goto VCZkH; LdGRF: $flag = false; goto RS2IR; qGDuH: huAeM: goto rE0i5; bjP9J: bi31a: goto G8yp1; MyIJy: P6hpE: goto PNrKw; fgjNG: return $this->result(1, "\345\x8f\257\346\217\x90\xe7\216\260\351\207\221\351\242\235\344\270\215\xe8\xb6\xb3"); goto Kt3ZU; gYslZ: nz2nO: goto q0A29; OGIp8: $signText = $this->module["\x63\157\x6e\x66\x69\147"]["\x73\155\x73\137\163\151\147\156\x4e\x61\155\145"]; goto lg_Bk; WRvtt: PJtYm: goto EFuE7; m_o8E: return $this->result(1, "\346\217\220\347\x8e\xb0\xe7\x94\263\xe8\257\xb7\xe5\xa4\261\350\264\245"); goto aLGV1; r5vYH: autoload()->func("\145\155\141\151\154"); goto WjDmN; On0r1: $enable_sms = $this->module["\143\157\x6e\146\151\147"]["\x65\x6e\x61\x62\154\x65\137\163\155\x73"]; goto zO07g; y7b2U: if (empty($_GPC["\x6e\x61\155\145"]) || empty($_GPC["\x61\143\x63\157\x75\156\164"])) { goto y_92u; } goto Tfso1; WarDb: if (empty($name)) { goto nz2nO; } goto hdKeR; WyCSQ: Lc_Gj: goto JLDrB; IkveP: $insertId = pdo_insertid(); goto isRN5; CHy2i: $DW = new DistributionWithdraw(); goto fBCq0; CowLX: $template_id = $this->module["\143\x6f\156\x66\x69\x67"]["\x73\155\x73\x5f\167\151\164\150\x64\x72\141\167\137\164\145\155\160\x6c\x61\x74\x65\x49\x64"]; goto mP_jz; Ct8Z8: if (!($type != "\167\145\x63\x68\x61\x74" && $type != "\142\141\x6c\141\x6e\x63\x65")) { goto Lc_Gj; } goto y7b2U; vZpjw: if (!$enable_email) { goto KiU4Q; } goto r5vYH; jRcYm: tOpZP: goto tS5O5; zbgQ0: KiU4Q: goto wlY4h; dBRDy: return $this->result(1, "\xe5\x8f\202\xe6\x95\260\351\x94\x99\xe8\xaf\xaf"); goto TuDID; isRN5: if ($insertResult) { goto kebp5; } goto LdGRF; c4vuc: if (!($enable_sms && $sms_mobile)) { goto CkH55; } goto XzM1n; wgKkH: $type = $_GPC["\164\x79\x70\x65"] ? $_GPC["\x74\x79\160\x65"] : "\x77\145\x63\150\141\164"; goto Ct8Z8; m8fY1: TsJ9A: goto qnPql; JLDrB: $DR = new DistributionReferee(); goto SWpem; SWpem: $refereeInfo = $DR->getOneByOpenid($_W["\157\160\145\x6e\x69\144"]); goto qGnjb; jVuxq: $M = new Member(); goto sAxrM; nNuSU: SmsDemo::sendWithdrawSms($sms_mobile, $template_id, $username, $signText); goto KFNzn; lwOvA: $body = $_W["\141\x63\x63\157\165\x6e\164"]["\156\x61\155\x65"] . "\346\234\x89\347\x94\xa8\xe6\x88\xb7\346\217\220\347\x8e\xb0\x2c\346\217\x90\347\216\260\x49\104\72" . $insertId . "\xe8\257\267\345\xb0\275\345\277\253\xe5\256\xa1\xe6\xa0\xb8"; goto w3mk9; eNFrz: require_once MODULE_ROOT . "\x2f\x6c\x69\x62\x2f\141\154\x69\171\x75\x6e\137\x73\155\163\57\x61\x6c\x69\x79\x75\156\163\x6d\163\x2e\160\x68\x70"; goto CowLX; quHGZ: $insert["\144\167\x5f\x66\x65\145"] = $fee; goto WarDb; hxUXk: $flag = true; goto CHy2i; Kt3ZU: zT8Oa: goto Oe_jk; eKoTW: $allowMoney = $allowMoney > 0 ? $allowMoney : 0; goto iHWg4; KFNzn: CkH55: goto mkJWI; rE0i5: pdo_commit(); goto On0r1; G8yp1: if ($flag) { goto huAeM; } goto LmqFK; EFuE7: $allowMoney = $refereeInfo["\x72\146\137\164\157\164\141\154\x6d\157\156\145\x79"] - $refereeInfo["\x72\x66\x5f\x75\163\x65\x64\x6d\x6f\156\x65\x79"] - $refereeInfo["\x72\x66\x5f\x61\x70\x70\x6c\171\155\157\156\145\x79"]; goto eKoTW; e7WJZ: $response = email_send($smtp_admin_email, $subject, $body, $config); goto zbgQ0; qrRIW: $subject = "\xe6\x8f\220\347\x8e\xb0\345\256\xa1\xe6\xa0\xb8\xe6\x8f\220\351\x86\222"; goto lwOvA; LmqFK: pdo_rollback(); goto m_o8E; RS2IR: kebp5: goto NEDbn; qGnjb: if ($refereeInfo) { goto PJtYm; } goto QK2vs; hec60: return $this->result(1, "\xe6\217\x90\347\216\xb0\345\247\x93\xe5\x90\215\xe6\x88\226\350\264\xa6\xe5\x8f\xb7\351\224\231\350\xaf\xaf"); goto UrjfY; wlY4h: return $this->result(0, "\xe6\x8f\x90\347\x8e\xb0\347\224\xb3\350\257\xb7\346\210\x90\345\x8a\x9f"); goto m8fY1; tS5O5: $insert["\x64\x77\137\164\171\160\145"] = $dw_type; goto JN2vb; EPel_: if (!(empty($_W["\157\x70\x65\156\151\x64"]) || $fee <= 0)) { goto t0yAU; } goto dBRDy; Oe_jk: $withdraw_minLimit = $this->module["\x63\x6f\x6e\146\x69\147"]["\x77\151\164\x68\x64\x72\141\167\x5f\x6d\x69\x6e\x4c\151\x6d\x69\164"]; goto nb87M; QK2vs: return $this->result(1, "\xe5\x8a\xa0\350\275\xbd\xe5\210\206\xe9\224\200\xe6\x95\260\346\215\256\351\224\231\xe8\xaf\xaf"); goto WRvtt; mkJWI: $enable_email = $this->module["\143\157\x6e\x66\151\x67"]["\x65\x6e\x61\x62\x6c\x65\x5f\145\155\x61\151\x6c"]; goto vZpjw; q4EB2: $insert["\x64\167\x5f\141\x63\143\x6f\165\156\164"] = $account; goto H3yCy; u2H5O: $fee = $_GPC["\x66\145\x65"]; goto EPel_; XzM1n: $filters = array(); goto bitS2; Sd4i3: $insert["\x75\137\157\x70\145\156\151\x64"] = $_W["\157\160\145\156\x69\144"]; goto quHGZ; UrjfY: BQWT5: goto WyCSQ; sAxrM: $memberInfo = $M->getOneByFields($filters); goto eNFrz; Tfso1: $name = $_GPC["\156\x61\155\145"]; goto KgdIJ; KgdIJ: $account = $_GPC["\x61\143\x63\157\165\156\x74"]; goto A3xXF; hdKeR: $insert["\144\167\137\x6e\x61\155\145"] = $name; goto gYslZ; s31UM: $update["\x72\146\x5f\141\x70\x70\154\171\x6d\x6f\156\145\x79"] = $applyMoney; goto mov2a; A3xXF: goto BQWT5; goto d6Mjr; PNrKw: pdo_begin(); goto hxUXk; d6Mjr: y_92u: goto hec60; q0A29: if (empty($account)) { goto Da_RP; } goto q4EB2; NEDbn: $applyMoney = $refereeInfo["\x72\x66\x5f\141\160\x70\154\x79\155\x6f\x6e\145\171"] + $fee; goto tIsUj; iHWg4: if (!($allowMoney <= 0 || $fee > $allowMoney)) { goto zT8Oa; } goto fgjNG; JN2vb: $insertResult = $DW->create($insert); goto IkveP; AK3l9: SmsDemo::setAppConfig($appKey, $appSecret); goto nNuSU; WjDmN: $smtp_admin_email = $this->module["\x63\x6f\156\x66\151\x67"]["\x73\155\164\x70\137\141\144\155\x69\156\137\x65\x6d\x61\151\154"]; goto qrRIW; BZV0U: utLK6: goto jRcYm; nb87M: if (!($fee < $withdraw_minLimit)) { goto P6hpE; } goto UDZsQ; H3yCy: Da_RP: goto rdtQt; w3mk9: $config = $this->module["\143\x6f\x6e\146\151\147"]; goto e7WJZ; TuDID: t0yAU: goto wgKkH; VCZkH: $appSecret = $this->module["\143\x6f\156\x66\x69\147"]["\163\x6d\x73\137\141\160\x70\x53\145\x63\162\x65\164"]; goto AK3l9; bitS2: $filters["\x75\x5f\x6f\160\x65\x6e\x69\144"] = $_W["\157\160\145\x6e\151\x64"]; goto jVuxq; mP_jz: $username = $memberInfo["\x75\137\156\151\143\153\x6e\x61\155\x65"]; goto OGIp8; rdtQt: switch ($type) { case "\141\x6c\151\x70\141\x79": $dw_type = 1; goto tOpZP; case "\x62\141\156\x6b": $dw_type = 2; goto tOpZP; case "\x62\141\x6c\141\156\143\145": $dw_type = 3; goto tOpZP; default: $dw_type = 0; } goto BZV0U; XFXKk: if ($updateResult) { goto bi31a; } goto FCDSf; tIsUj: $update = array(); goto s31UM; aLGV1: goto TsJ9A; goto qGDuH; zO07g: $sms_mobile = $this->module["\143\x6f\x6e\x66\x69\147"]["\163\155\163\x5f\x6d\157\142\x69\154\x65"]; goto c4vuc; FCDSf: $flag = false; goto bjP9J; qnPql: } public function doPageGetWithdrawList() { goto B3aQC; V6ue2: $total = 0; goto il4Ei; Pi47u: return $this->result(1, "\xe5\217\x82\346\x95\xb0\351\224\x99\xe8\257\xaf"); goto SFHqi; B3aQC: require_once MODULE_ROOT . "\57\x75\x74\x69\x6c\x2f\127\151\x74\x68\144\162\141\167\x45\156\165\155\x2e\x75\164\x69\154\x2e\x70\150\x70"; goto eVo73; yvj1Z: $ds = $DW->getAllByPage($filters, $page, $pageSize, $total, "\x64\167\137\151\144\x20\x44\x45\123\103"); goto vScol; ARc9I: return $this->result(0, "\xe5\212\240\xe8\275\xbd\xe6\217\220\xe7\216\xb0\345\210\x97\xe8\241\xa8\xe6\x88\220\345\212\237", $ds); goto Cd5n7; KRflg: $filters["\165\x5f\x6f\160\145\156\x69\144"] = $_W["\157\x70\x65\156\x69\144"]; goto yvj1Z; CYJWO: $page = intval($_GPC["\160\x61\x67\x65"]); goto OXYT1; tL_pi: $DW = new DistributionWithdraw(); goto CYJWO; Z0pfX: foreach ($ds as $k => &$v) { goto sqNHl; sqNHl: $v["\144\167\137\x73\x74\141\x74\x75\163"] = $withdrawStatus["{$v["\x64\x77\137\163\x74\x61\x74\165\163"]}"]; goto uduep; uduep: $v["\x64\167\137\x63\162\x65\141\x74\145\164\151\x6d\x65"] = date("\x59\55\x6d\55\x64\x20\110\72\151", strtotime($v["\144\x77\x5f\x63\x72\x65\x61\164\145\x74\x69\x6d\x65"])); goto FpwSN; FpwSN: R3IPI: goto O7EqU; O7EqU: } goto shZOl; YxJ49: if (!empty($_W["\157\x70\145\x6e\x69\x64"])) { goto LiXRf; } goto Pi47u; vScol: if ($ds) { goto cWnrS; } goto rFhOa; OXYT1: $page = max($page, 1); goto JDxjY; shZOl: I0UN2: goto ARc9I; fYciI: cWnrS: goto Z0pfX; il4Ei: $filters = array(); goto KRflg; JDxjY: $pageSize = 20; goto V6ue2; rFhOa: return $this->result(1, "\xe6\x95\260\xe6\x8d\256\344\270\215\345\xad\x98\345\234\250"); goto fYciI; eVo73: global $_W, $_GPC; goto YxJ49; SFHqi: LiXRf: goto tL_pi; Cd5n7: } public function doPageGetTeam() { goto h14Vu; iPdGL: if (!is_error($team)) { goto OPU0W; } goto VahnK; nvXI7: fKnn1: goto HHcvZ; A2mKo: s8ntc: goto Zk3U2; aFfhs: $tempMenu = array(); goto kEmqO; nlcn8: foreach ($team as $k => $v) { goto Ex6fO; Q4ppA: $tempMenu["\164\157\x74\x61\154"] = count($v); goto l8czQ; CElBK: H1Ncm: goto WlI_R; l8czQ: $menu[] = $tempMenu; goto CElBK; PLMDD: $tempMenu["\156\x61\155\145"] = $levelNameArray[$k - 1]; goto Q4ppA; Ex6fO: $tempMenu = array(); goto PLMDD; WlI_R: } goto nvXI7; U3WHB: $level = isset($level) ? $level : 3; goto pUYK1; GT92K: OPU0W: goto B8scY; MRp2f: kiPFP: goto pZYSD; tXHob: if (!($i < $level)) { goto EVA1a; } goto aFfhs; jNXqH: return $this->result(0, "\xe5\x8a\xa0\xe8\275\xbd\345\x9b\242\xe9\x98\237\346\210\220\345\x8a\x9f", $data); goto XHF8U; OYvaG: $data["\164\x65\141\x6d"] = $team; goto jNXqH; pUYK1: $team = getMyTeam($_W["\157\160\145\x6e\151\x64"], $level); goto iPdGL; V5OZI: UHSKx: goto f6R5P; pZYSD: $i = 0; goto zILWR; Pya0M: $tempMenu["\164\157\x74\x61\154"] = 0; goto wlWzq; WOyug: return $this->result(1, "\xe5\x8f\202\xe6\x95\260\xe9\x94\231\xe8\xaf\257"); goto V5OZI; wlWzq: $menu[] = $tempMenu; goto KrH7E; KrH7E: Wxy4B: goto h8tmU; QrsDK: global $_W; goto X0KcP; KCdS7: $level = $this->module["\143\x6f\156\146\151\147"]["\x64\151\x73\164\162\x69\x62\165\x74\151\157\156\137\154\145\166\x65\x6c"]; goto U3WHB; zILWR: NkyDZ: goto tXHob; X0KcP: if (!empty($_W["\x6f\x70\145\156\x69\144"])) { goto UHSKx; } goto WOyug; P40wJ: if (empty($levelName)) { goto ePOpo; } goto mZiIU; XY1F8: ePOpo: goto Mp8ea; ABgjp: EVA1a: goto A2mKo; L2GbU: $levelNameArray = array("\xe7\x9b\xb4\345\261\236\344\274\x9a\xe5\221\230", "\344\xba\x8c\xe7\xba\247\xe4\xbc\232\xe5\x91\230", "\xe4\270\x89\347\xba\xa7\344\274\x9a\345\x91\x98"); goto P40wJ; Mp8ea: $menu = array(); goto VOYw2; h8tmU: $i++; goto uGC9K; Zk3U2: $data["\x6d\x65\156\x75"] = $menu; goto OYvaG; HHcvZ: goto s8ntc; goto MRp2f; h14Vu: autoload()->func("\x64\151\x73\x74\162\x69\142\x75\x74\151\x6f\x6e"); goto QrsDK; mZiIU: $levelNameArray = explode("\x2c", $levelName); goto XY1F8; VOYw2: if (empty($team)) { goto kiPFP; } goto nlcn8; f6R5P: $data = array(); goto KCdS7; kEmqO: $tempMenu["\x6e\x61\x6d\145"] = $levelNameArray[$i]; goto Pya0M; uGC9K: goto NkyDZ; goto ABgjp; VahnK: $team = array(); goto GT92K; B8scY: $levelName = $this->module["\143\x6f\156\x66\x69\x67"]["\144\151\x73\164\x72\151\x62\x75\164\151\x6f\156\x5f\154\145\166\x65\x6c\116\x61\x6d\x65"]; goto L2GbU; XHF8U: } public function doPageDistributionChart() { goto cp4lO; AGu4w: foreach ($ds as $k => &$v) { goto vQrcj; D20MU: if ($memberInfo) { goto b04Cl; } goto UZST_; rxVAB: K0eVO: goto FFq3C; kfBF3: b04Cl: goto uWo0L; GiRAG: goto vH3Sd; goto kfBF3; ktNXG: $index++; goto rxVAB; UZST_: unset($ds[$k]); goto GiRAG; L2hD0: vH3Sd: goto ktNXG; uWo0L: $v["\151\156\144\x65\x78"] = $index; goto nZG2w; vQrcj: $memberInfo = $M->getOneByOpenid($v["\x75\137\x6f\x70\x65\156\151\144"]); goto D20MU; nZG2w: $v["\155\145\155\x62\145\162\111\156\146\157"] = $memberInfo; goto L2hD0; FFq3C: } goto EAvbO; LHTCv: $index = 1; goto AGu4w; JFeQ_: $M = new Member(); goto Mt22k; EAvbO: F8GaX: goto SFQCQ; dR0Yo: if ($ds) { goto CAewS; } goto s7Kir; Xl4ky: $total = 0; goto H90zT; cp4lO: global $_W, $_GPC; goto QQxRB; fatXb: $pageSize = 100; goto Xl4ky; ym4NI: $ds = $DR->getAllByPage($filters, $page, $pageSize, $total, "\x72\x66\x5f\164\x6f\164\x61\154\155\x6f\156\x65\x79\40\40\104\105\123\103"); goto dR0Yo; s7Kir: return $this->result(1, "\xe6\x95\260\346\x8d\256\344\xb8\215\xe5\xad\230\345\234\250"); goto XVpo_; Mt22k: $page = intval($_GPC["\160\x61\x67\x65"]); goto xg4SK; xg4SK: $page = max($page, 1); goto fatXb; L8wDa: return $this->result(0, "\xe5\212\240\350\xbd\275\346\x8e\222\350\241\214\xe6\x88\x90\345\x8a\237", $ds); goto ROPwv; QQxRB: $DR = new DistributionReferee(); goto JFeQ_; H90zT: $filters = array(); goto ym4NI; SFQCQ: unset($v); goto L8wDa; XVpo_: CAewS: goto LHTCv; ROPwv: } public function doPageRefund() { goto R81WI; J53fF: $sms_mobile = $this->module["\143\x6f\x6e\x66\x69\x67"]["\163\155\x73\137\x6d\x6f\142\x69\x6c\x65"]; goto j2Xoq; FdZsc: $config = $this->module["\x63\157\156\146\151\x67"]; goto HB0m3; j2Xoq: if (!($enable_sms && $sms_mobile)) { goto U5ASJ; } goto UzAXu; bSWHV: $enable_email = $this->module["\x63\157\156\x66\151\x67"]["\145\156\x61\x62\x6c\145\137\145\155\141\151\x6c"]; goto OOftm; xQ33n: vd_53: goto nF1LF; iRY2B: if (!empty($_W["\157\x70\x65\156\151\x64"])) { goto vd_53; } goto MOLlX; bFbzj: $memberInfo = $M->getOneByFields($filters); goto l2jt6; HB0m3: $response = email_send($smtp_admin_email, $subject, $body, $config); goto imsEF; fJRcl: $subject = "\xe9\200\200\xe6\254\xbe\345\256\241\346\240\270\346\217\220\351\206\x92"; goto Lkd2v; re7y3: $appSecret = $this->module["\x63\x6f\156\x66\x69\147"]["\x73\x6d\163\137\x61\160\160\x53\145\x63\x72\x65\164"]; goto BMEQF; XKeGP: $appKey = $this->module["\143\157\156\x66\151\147"]["\163\x6d\x73\137\141\x70\160\113\145\x79"]; goto re7y3; FFKHg: $username = $memberInfo["\x75\137\x6e\x69\x63\x6b\x6e\x61\155\145"]; goto G0BlI; nnGmM: $M = new Member(); goto bFbzj; sLNoA: if (!is_error($applyResult)) { goto gEzTI; } goto SqgkL; c1zDX: $filters["\x75\x5f\x6f\160\145\x6e\151\x64"] = $_W["\157\160\x65\156\151\x64"]; goto nnGmM; UzAXu: $filters = array(); goto c1zDX; R81WI: autoload()->func("\162\x65\146\x75\x6e\x64"); goto H4bi0; nF1LF: $code = $_GPC["\143\157\x64\x65"]; goto G_O5c; GEau_: gEzTI: goto bXEjZ; G_O5c: $applyResult = refundApply($code, $_W["\x6f\x70\145\156\x69\144"]); goto sLNoA; l2jt6: require_once MODULE_ROOT . "\57\154\151\x62\x2f\x61\154\x69\x79\x75\x6e\x5f\x73\x6d\163\x2f\141\x6c\x69\171\x75\x6e\x73\x6d\163\56\160\150\160"; goto XmDRQ; LlRHl: $smtp_admin_email = $this->module["\x63\157\x6e\x66\151\147"]["\163\155\164\160\137\141\144\155\x69\x6e\137\145\x6d\141\x69\154"]; goto fJRcl; OOftm: if (!$enable_email) { goto XaXb3; } goto lJAr6; oe5Pw: SmsDemo::sendRefundSms($sms_mobile, $template_id, $username, $signText); goto QVi0s; G0BlI: $signText = $this->module["\143\157\156\146\151\147"]["\x73\x6d\163\137\x73\151\147\156\x4e\141\x6d\145"]; goto XKeGP; imsEF: XaXb3: goto PgG2m; SqgkL: return $this->result(1, $applyResult["\x6d\x65\163\163\141\x67\x65"]); goto GEau_; bXEjZ: $enable_sms = $this->module["\143\157\156\x66\151\x67"]["\145\x6e\141\142\154\x65\x5f\x73\155\163"]; goto J53fF; PgG2m: return $this->result(0, "\351\200\200\xe6\254\276\346\217\220\xe4\xba\244\346\210\220\345\212\x9f"); goto CR0yZ; MOLlX: return $this->result(1, "\xe5\x8f\x82\346\x95\xb0\xe9\224\x99\350\257\257"); goto xQ33n; QVi0s: U5ASJ: goto bSWHV; Lkd2v: $body = $_W["\x61\143\143\157\165\156\x74"]["\156\141\x6d\145"] . "\346\234\x89\xe7\224\xa8\xe6\210\267\347\224\xb3\xe8\257\xb7\351\200\200\346\254\xbe\54\351\200\200\xe6\xac\276\xe8\xae\242\xe5\215\225\xe5\x8f\267\72" . $code . "\350\xaf\xb7\345\260\275\345\277\xab\345\256\241\346\xa0\xb8"; goto FdZsc; lJAr6: autoload()->func("\x65\x6d\141\151\x6c"); goto LlRHl; H4bi0: global $_W, $_GPC; goto iRY2B; XmDRQ: $template_id = $this->module["\143\x6f\x6e\x66\151\x67"]["\163\x6d\163\137\162\x65\x66\x75\156\x64\137\164\x65\155\160\154\x61\164\x65\111\x64"]; goto FFKHg; BMEQF: SmsDemo::setAppConfig($appKey, $appSecret); goto oe5Pw; CR0yZ: } public function doPageGetBgImg() { goto ozvri; WJJP4: return $this->result(1, $qrResult["\155\145\163\x73\141\147\x65"]); goto Dh7fO; qVS2v: if (!($_GPC["\164\171\160\x65"] == "\61")) { goto YH9nc; } goto jsvns; Ibgw1: $filters["\x73\x6d\137\x6b\x65\x79"] = $key; goto ayAEI; q76DS: $qrResult = getSingleQr($qrConfig, $qrTarget, $bgUrl, $bgTarget, $location); goto Q2ytf; cuvjB: $qrTarget = ATTACHMENT_ROOT . "\x68\141\167\x6b\137\x6d\x75\154\x74\x69\x73\150\157\x70\x2f\161\162\x63\x6f\x64\x65\57" . $key . "\x2e\x70\x6e\x67"; goto iUdwp; vOvu7: $insert["\x73\155\x5f\143\x6f\144\145"] = $code; goto lxF_7; syuSJ: if (!empty($cacheTime)) { goto VaqlE; } goto CWl5w; Qt1OI: fdmnj: goto q76DS; f0HEs: $qrConfig = array("\x73\143\x65\156\x65" => $key, "\x70\x61\147\145" => "\150\141\167\x6b\x5f\155\x75\x6c\164\151\163\x68\157\160\57\160\x61\147\145\x73\x2f\x64\x65\x74\141\151\x6c\57\x64\145\x74\141\151\154", "\167\151\144\x74\x68" => 300, "\x6c\151\156\145\x5f\143\157\x6c\157\162" => array("\x72" => 0, "\x67" => 139, "\x62" => 69), "\x69\x73\x5f\150\x79\x61\154\151\x6e\145" => true); goto he1b_; dbkEI: if (!(empty($code) || empty($_W["\x6f\160\x65\156\x69\144"]))) { goto YbkwX; } goto YKuam; WfeOE: $location = explode("\54", $productInfo["\x66\x73\x5f\x73\150\x61\x72\145\137\161\162\154\157\143\x61\164\151\157\x6e"]); goto Qt1OI; xTk3n: return $this->result(0, "\345\x8a\240\xe8\275\275\xe4\xba\x8c\347\xbb\264\347\240\201\xe6\x88\x90\345\212\237", $qrUrl); goto EleyN; ZNkec: $productInfo = $AF->getOneByFields($filters); goto aSf92; SD6Ux: cache_write("\x62\x67\x49\155\147\x54\151\155\x65", $cacheTime); goto j2w5l; Q2ytf: if (!is_error($qrResult)) { goto BM_US; } goto WJJP4; S3LQe: $filters = array(); goto JGT6v; yaNlL: if ($productInfo) { goto u7InM; } goto DuK_x; CWl5w: $cacheTime = time(); goto Ht9Xh; FRL3X: zECtU: goto f0HEs; a5XI3: $filters = array(); goto Ibgw1; UsyyH: goto qrH0o; goto PyAqV; ae9SN: global $_W, $_GPC; goto Caija; Ht9Xh: cache_write("\x62\x67\x49\155\x67\124\151\155\x65", $cacheTime); goto z1G8l; e5o6R: u7InM: goto DNlBY; PyAqV: Wa8rz: goto ZQnvv; J1y6q: $qrConfig = array("\163\x63\x65\156\145" => $key, "\160\x61\147\145" => "\150\x61\167\153\137\155\x75\154\164\151\x73\x68\x6f\x70\x2f\x70\x61\147\145\163\x2f\144\145\164\x61\x69\x6c\137\x66\x6c\141\163\x68\x73\x61\154\x65\57\x64\x65\x74\141\x69\154\137\146\154\x61\x73\150\163\141\x6c\x65", "\x77\x69\144\164\x68" => 300, "\x6c\x69\156\x65\137\x63\x6f\154\157\162" => array("\162" => 0, "\147" => 139, "\x62" => 69), "\151\x73\137\x68\x79\141\x6c\151\x6e\x65" => true); goto ligXV; k9Xmp: if ($hasMap) { goto zECtU; } goto t8xi9; e3UoH: qrH0o: goto xTk3n; DNlBY: $SM = new SceneMap(); goto FSoBP; RB_kN: $bgTarget = ATTACHMENT_ROOT . "\150\x61\167\x6b\137\x6d\165\154\164\x69\x73\x68\x6f\160\57\164\141\162\x67\145\x74\x2f" . $key . "\56\160\156\147"; goto LBAj1; t8xi9: $insert = array(); goto NSh6e; rMBrT: $filters["\160\x72\x6f\137\143\157\144\145"] = $code; goto JEAVu; soHDr: if (!is_file($bgTarget)) { goto Wa8rz; } goto HRjr0; KB8NV: $P = new Product(); goto FfV3n; CSxNn: $cacheTime = time(); goto SD6Ux; jsvns: $bgUrl = tomedia($productInfo["\x66\163\137\163\150\141\x72\145\137\x62\147\x69\155\x67"]); goto qfhkk; lh0GR: if (!($_GPC["\164\x79\x70\145"] == "\61")) { goto HEu5g; } goto fm0Xp; GfMRZ: if (!($_GPC["\164\x79\x70\145"] == "\61")) { goto fdmnj; } goto WfeOE; aSf92: HEu5g: goto yaNlL; ZQnvv: $location = explode("\x2c", $productInfo["\x70\162\x6f\137\x73\x68\x61\x72\145\137\161\162\x6c\x6f\x63\141\164\x69\x6f\156"]); goto GfMRZ; ayAEI: $hasMap = $SM->getOneByFields($filters); goto k9Xmp; DuK_x: return $this->result(1, "\344\272\247\xe5\x93\201\344\277\xa1\346\201\xaf\351\224\231\xe8\257\257"); goto e5o6R; ozvri: autoload()->func("\161\x72"); goto hF9wM; Eotzy: autoload()->classes("\151\155\147\x55\x74\151\x6c"); goto ae9SN; qfhkk: YH9nc: goto RB_kN; ligXV: FdLWc: goto cuvjB; hmfjW: YbkwX: goto KB8NV; JGT6v: $filters["\x66\163\137\x63\x6f\144\145"] = $code; goto ZNkec; Caija: $code = $_GPC["\143\157\x64\145"]; goto dbkEI; y5O0m: autoload()->classes("\151\x6d\x67"); goto Eotzy; LBAj1: $cacheTime = cache_read("\142\147\x49\155\147\x54\151\155\x65"); goto syuSJ; GcWrY: $SM->create($insert); goto FRL3X; JEAVu: $productInfo = $P->getOneByFields($filters); goto lh0GR; iUdwp: $bgUrl = tomedia($productInfo["\160\162\x6f\x5f\163\150\x61\x72\145\137\142\147\151\155\147"]); goto qVS2v; z1G8l: VaqlE: goto soHDr; lxF_7: $insert["\163\x6d\x5f\153\145\x79"] = $key; goto GcWrY; NSh6e: $insert["\165\x5f\x6f\160\x65\x6e\x69\x64"] = $_W["\x6f\x70\x65\x6e\x69\x64"]; goto vOvu7; gOa4O: $qrUrl = tomedia(str_replace(ATTACHMENT_ROOT, '', $qrResult)) . "\77\x74\x69\x6d\145\75" . $cacheTime; goto UsyyH; fm0Xp: $AF = new ActivityFlashSale(); goto S3LQe; Dh7fO: BM_US: goto CSxNn; HRjr0: $qrResult = $bgTarget; goto gOa4O; j2w5l: $qrUrl = tomedia(str_replace(ATTACHMENT_ROOT, '', $qrResult)) . "\77\x74\x69\x6d\x65\75" . $cacheTime; goto e3UoH; FSoBP: $key = md5($_W["\x6f\x70\145\x6e\x69\x64"] . $code); goto a5XI3; FfV3n: $filters = array(); goto rMBrT; he1b_: if (!($_GPC["\164\171\x70\145"] == "\61")) { goto FdLWc; } goto J1y6q; hF9wM: autoload()->func("\167\x78\x61\x70\151"); goto y5O0m; YKuam: return $this->result(1, "\345\217\x82\346\225\260\xe9\224\231\xe8\xaf\257"); goto hmfjW; EleyN: } public function doPageOptionInfo() { goto Elgoh; LqtvF: $specs = $_GPC["\x73\x70\145\143\163"]; goto B182n; LGddE: $filters["\x73\160\145\x63\163"] = $specs; goto fYuTA; Elgoh: global $_W, $_GPC; goto LqtvF; pnAFw: $filters = array(); goto LGddE; Pl1Vt: v__s_: goto iIjz9; hAxxc: return $this->result(0, "\345\x8a\xa0\xe8\xbd\275\xe8\xa7\204\xe6\240\xbc\xe6\x88\x90\345\212\237", $optionInfo); goto t9sOv; LaYtU: return $this->result(1, "\xe6\x9c\252\xe6\211\xbe\xe5\210\xb0\xe8\xa7\x84\xe6\240\xbc\xe4\277\241\xe6\201\257", $specs); goto KL099; iIjz9: $OP = new Option(); goto pnAFw; fYuTA: $optionInfo = $OP->getOneByFields($filters); goto CbHyU; ASGY2: return $this->result(1, "\xe8\xa7\x84\xe6\240\274\345\217\202\xe6\x95\260\351\x94\231\350\257\xaf"); goto Pl1Vt; KL099: dMU1o: goto hAxxc; B182n: if (!empty($specs)) { goto v__s_; } goto ASGY2; CbHyU: if ($optionInfo) { goto dMU1o; } goto LaYtU; t9sOv: } public function doPageNotice() { goto LnyBp; nBJ83: ctOz5: goto sBDp4; a131X: $total = 0; goto QtBXO; wfehv: $pageSize = 30; goto a131X; xTI6Y: autoload()->func("\x74\151\155\x65"); goto MZY9r; zoAPQ: return $this->result(1, "\350\256\xa2\xe5\x8d\x95\344\270\xba\xe7\xa9\xba"); goto nBJ83; k23yx: ZzDTw: goto C2NAF; aVb0Y: $pageIndex = 1; goto wfehv; QtBXO: $O = new Order(); goto tn3Hv; oT735: $M = new Member(); goto J6Frf; MZY9r: $code = $_GPC["\143\157\144\x65"]; goto aVb0Y; LnyBp: global $_W, $_GPC; goto xTI6Y; J6Frf: $G = new OrderGood(); goto NoMLS; C2NAF: return $this->result(0, "\xe9\200\x9a\347\x9f\xa5\345\212\xa0\350\xbd\275\346\210\220\xe5\212\237", $notice); goto Bapbs; H1w0i: $ds = $O->getAllByPage($filters, $pageIndex, $pageSize, $total, "\x6f\144\137\143\x72\145\x61\164\145\x74\x69\155\x65\40\104\x45\x53\x43"); goto zGOnI; sBDp4: $notice = array(); goto oT735; zGOnI: if ($ds) { goto ctOz5; } goto zoAPQ; tn3Hv: $filters = array(); goto H1w0i; NoMLS: foreach ($ds as $v) { goto Losmr; NNOic: lxgS9: goto La7ui; NqhVp: $memberInfo = $M->getOneByOpenid($v["\x75\x5f\x6f\x70\145\x6e\151\144"]); goto KdM89; La7ui: $timeStr = human_time($orderTime); goto J3r23; AEQnU: vhKTv: goto w5cSi; Hzjmu: $noticeItem = array("\141\x76\x61\x74\141\x72" => $memberInfo["\165\x5f\141\166\x61\x74\141\162"], "\x6d\145\163\163\x61\x67\145" => $message); goto a1M9r; Losmr: $message = "\346\xad\xa3\345\234\250\346\212\xa2\xe8\xb4\xad"; goto PRmoz; KdM89: if (!$memberInfo) { goto VYqn1; } goto lQbDZ; i_v2Z: $message = $timeStr . $message; goto mfFNM; lQbDZ: $message = $memberInfo["\165\x5f\x6e\151\x63\153\x6e\x61\x6d\x65"] . $message; goto Hzjmu; J9tR_: $goods = $G->getAll($filters); goto ebsg8; D3eh_: $filters["\x6f\144\137\143\x6f\144\x65"] = $v["\157\144\137\143\157\x64\145"]; goto J9tR_; w5cSi: if (!($v["\x6f\x64\x5f\163\164\x61\164\165\163"] == 1)) { goto KKFU1; } goto Nda0W; mfFNM: Uedhc: goto NqhVp; Nda0W: $message = "\346\212\242\350\xb4\255\346\x88\220\xe5\x8a\x9f"; goto jE55j; uDt1d: goto iY08A; goto NNOic; J3r23: iY08A: goto WFD1G; oRqgS: TozAr: goto bBg1l; QZO2h: $timeStr = ''; goto uDt1d; IykEs: if (time() - $orderTime < 3600) { goto lxgS9; } goto QZO2h; gxt2Q: if (!$timeStr) { goto Uedhc; } goto i_v2Z; ebsg8: foreach ($goods as $good) { goto Z3fCX; ZdP1I: CIdvH: goto upY0G; Z3fCX: if (!($good["\160\162\157\x5f\x63\x6f\144\x65"] == $code)) { goto xrJYK; } goto DaDFj; DaDFj: $message = "\345\267\262\346\212\xa2\xe8\xb4\255\346\255\xa4\xe5\x95\x86\xe5\x93\x81"; goto A0TE8; A0TE8: xrJYK: goto ZdP1I; upY0G: } goto AEQnU; WFD1G: $filters = array(); goto D3eh_; a1M9r: $notice[] = $noticeItem; goto dQ5sD; jE55j: KKFU1: goto gxt2Q; PRmoz: $orderTime = strtotime($v["\157\144\x5f\x63\162\145\x61\164\145\x74\x69\155\x65"]); goto IykEs; dQ5sD: VYqn1: goto oRqgS; bBg1l: } goto k23yx; Bapbs: } public function doPageFlashSale() { goto Gt0pt; pQfZe: foreach ($ds as $k => &$v) { goto OWz54; lCr9R: I8ooi: goto NHdi0; OWz54: $v["\160\162\x6f\137\146\x6c\141\x73\150\x5f\x74\x68\165\x6d\142"] = tomedia($v["\x70\162\157\x5f\146\x6c\x61\163\150\x5f\x74\x68\165\x6d\x62"]); goto NeB_l; NeB_l: $v["\x72\x65\x6d\141\151\x6e\124\x69\x6d\x65"] = strtotime($v["\x70\162\x6f\x5f\x66\154\x61\x73\x68\x5f\145\x6e\144\x74\151\155\145"]) - time(); goto lCr9R; NHdi0: } goto xtPZG; OBn79: $filters["\147\x72\157\165\160\x66\x69\x6c\164\x65\162\163"] = array("\x74\171\x70\x65" => "\x20\x41\x4e\104\x20", "\x66\151\x6c\x74\x65\162\x73" => array("\x70\x72\x6f\137\x66\154\141\163\150\x5f\x62\x65\147\151\156\x74\x69\x6d\145" => array("\166\x61\154\x75\145" => $currentTime, "\x67\154\165\145" => "\74"), "\160\162\157\137\146\x6c\141\163\150\x5f\145\x6e\144\x74\x69\x6d\x65" => array("\166\141\154\165\x65" => $currentTime, "\x67\x6c\x75\x65" => "\x3e"))); goto aWHfI; bVTEo: $page = intval($_GPC["\x70\x61\x67\145"]); goto dtAH0; Gt0pt: global $_GPC, $_W; goto lypvC; q20VW: $filters["\160\x72\157\137\x66\154\141\x73\150\137\157\156\x6c\x69\x6e\145"] = 1; goto YK0iV; hPqw8: if ($ds) { goto UXz73; } goto qw0af; xtPZG: MPhBN: goto IWugM; IWugM: return $this->result(0, "\345\x8a\xa0\xe8\275\xbd\346\x8a\242\350\xb4\255\344\xbf\xa1\346\201\xaf\xe6\210\220\xe5\x8a\x9f", $ds); goto m_Yax; qw0af: return $this->result(1, "\345\x8a\xa0\350\xbd\xbd\xe9\231\x90\xe6\227\266\346\212\242\xe8\264\xad\xe6\225\xb0\xe6\x8d\xae\351\x94\231\xe8\xaf\xaf"); goto Fkv58; rcs7e: $pageSize = 100; goto ShZmM; tkT6S: $filters["\x70\162\x6f\x5f\x73\x74\x61\x74\165\x73"] = 0; goto q20VW; ShZmM: $total = 0; goto nDGpa; nDGpa: $filters = array(); goto tkT6S; dtAH0: $page = max($page, 1); goto rcs7e; aWHfI: $ds = $P->getAllByPage($filters, $page, $pageSize, $total, "\x70\162\x6f\x5f\167\145\x69\147\150\164\40\x44\x45\123\x43\54\x70\162\157\x5f\x69\x64\40\104\x45\123\x43"); goto hPqw8; YK0iV: $currentTime = date("\x59\55\x6d\55\x64\40\110\x3a\151\x3a\x73", time()); goto OBn79; Fkv58: UXz73: goto pQfZe; lypvC: $P = new Product(); goto bVTEo; m_Yax: } public function doPageSendVerifyCode() { goto f4KMk; Rsjlo: if ($smsResult["\103\x6f\x64\145"] != "\117\x4b") { goto EeeTO; } goto DYkee; iM0o3: return $this->result(1, $smsResult["\115\x65\163\x73\x61\147\145"]); goto cxY5f; gMqL3: $template_id = $this->module["\x63\157\x6e\146\x69\x67"]["\163\x6d\163\137\166\x65\162\151\146\x79\137\x74\145\155\160\154\x61\164\145\x49\144"]; goto rTonG; sPeRc: aH2fA: goto yghnS; WM3RQ: SmsDemo::setAppConfig($appKey, $appSecret); goto yRNjm; o016M: $sms_intervalTime = $this->module["\x63\157\156\146\151\147"]["\x73\155\x73\137\151\156\x74\145\x72\x76\141\x6c\124\x69\155\x65"]; goto thilB; yghnS: $mobile = $_GPC["\x6d\157\142\151\x6c\x65"]; goto olOjM; rTonG: $signText = $this->module["\143\157\156\146\x69\147"]["\163\x6d\163\x5f\163\x69\x67\156\x4e\x61\x6d\x65"]; goto bvHY1; N5JOm: $_SESSION["\164\151\155\145"] = time(); goto Y2mBr; yRNjm: $response = SmsDemo::sendSms($mobile, $template_id, $verifyCode, $signText); goto E4BxG; wiZgz: require_once MODULE_ROOT . "\57\x6c\151\x62\x2f\x61\154\x69\171\x75\x6e\x5f\163\155\163\57\x61\x6c\151\171\165\x6e\x73\155\x73\x2e\x70\150\x70"; goto RfH2B; TDYsy: e4S2a: goto EY0Ak; RfH2B: require_once MODULE_ROOT . "\x2f\146\x75\x6e\143\57\141\162\x72\x61\171\x2e\146\x75\156\x63\x2e\x70\x68\x70"; goto N2Jj8; Y2mBr: goto Qo8q7; goto GdIIm; JshiW: return $this->result(1, "\xe7\237\xad\xe4\xbf\xa1\345\x8f\221\xe9\x80\x81\351\242\x91\xe7\271\x81\54\xe8\257\267\xe7\xa8\x8d\345\220\x8e\351\x87\x8d\xe8\257\225"); goto X3zZC; cxY5f: Qo8q7: goto JJZK9; SXcZi: return $this->result(1, "\xe7\224\xa8\346\210\xb7\344\277\xa1\xe6\201\257\xe9\224\x99\xe8\257\xaf"); goto geZW_; olOjM: if (preg_match("\x2f\x5e\x31\x5b\63\x34\65\x36\67\x38\x39\135\134\144\173\x39\175\44\57", $mobile)) { goto e4S2a; } goto F2ZYL; bvHY1: $appKey = $this->module["\143\157\x6e\x66\x69\x67"]["\x73\155\163\137\x61\x70\x70\113\x65\x79"]; goto maGXx; o2hBt: if (!(time() - $_SESSION["\164\x69\155\x65"] < $sms_intervalTime)) { goto npJek; } goto JshiW; X3zZC: npJek: goto sPeRc; JJZK9: return $this->result(0, "\xe9\252\x8c\xe8\xaf\201\347\240\201\xe5\x8f\x91\351\x80\x81\xe6\x88\x90\xe5\212\x9f", array("\166\x65\162\x69\146\x79\143\157\x64\x65" => $verifyCode)); goto w7UG6; GdIIm: EeeTO: goto iM0o3; EY0Ak: if (!empty($_W["\157\x70\x65\156\151\144"])) { goto i0ibA; } goto SXcZi; geZW_: i0ibA: goto wiZgz; thilB: if (!(isset($_SESSION["\164\151\155\x65"]) && !empty($sms_intervalTime))) { goto aH2fA; } goto o2hBt; F2ZYL: return $this->result(1, "\xe6\x89\213\346\x9c\272\345\217\xb7\xe9\x94\231\350\257\xaf"); goto TDYsy; DYkee: $key = md5("\x76\145\x72\151\146\171\x63\157\144\x65" . $_W["\x75\x6e\151\x61\143\x69\144"] . $_W["\x6f\160\x65\156\x69\144"]); goto h2lLJ; f4KMk: global $_W, $_GPC; goto o016M; maGXx: $appSecret = $this->module["\x63\x6f\x6e\146\x69\147"]["\163\x6d\x73\137\141\x70\x70\x53\145\x63\x72\x65\164"]; goto WM3RQ; N2Jj8: $verifyCode = random(6, true); goto gMqL3; h2lLJ: $_SESSION[$key] = $verifyCode; goto N5JOm; E4BxG: $smsResult = object_to_array($response); goto Rsjlo; w7UG6: } public function doPageShopApply() { goto j4tHZ; MCpgA: return $this->result(1, "\345\x95\x86\346\210\267\347\x94\xb3\xe8\257\xb7\345\xa4\261\xe8\264\245"); goto z17uq; QTBe8: return $this->result(1, "\xe4\xbd\240\345\xb7\262\xe7\x94\xb3\xe8\257\xb7\xe8\277\x87\344\xba\206\54\xe4\270\215\xe8\203\xbd\351\207\x8d\345\244\x8d\xe7\x94\263\350\xaf\xb7"); goto Y9yfE; nLtnv: $input = array(); goto o1uNy; a5JZg: $input["\x73\x68\157\x70\137\x74\150\165\x6d\x62"] = $_GPC["\163\x68\157\x70\137\x74\x68\x75\155\x62"]; goto berdJ; iDajs: if (!(empty($_GPC["\x69\x64\145\156\164\151\164\x79"]) || !preg_match("\x2f\x5e\x5b\x31\55\71\135\173\61\175\x5b\x30\55\71\135\173\61\64\175\x24\x7c\x5e\x5b\61\55\71\135\173\x31\175\x5b\60\55\x39\x5d\x7b\61\66\x7d\x28\133\x30\x2d\71\x5d\174\x5b\x78\130\x5d\x29\x24\57", $_GPC["\151\x64\x65\x6e\164\x69\164\x79"]))) { goto F_5YQ; } goto SLmdu; gxiMD: if ($addShopResult) { goto go5md; } goto MCpgA; JJrQS: $input["\163\150\157\160\137\155\x6f\142\151\154\x65"] = $_GPC["\155\157\142\151\x6c\145"]; goto vx6TZ; vx6TZ: $input["\165\x5f\x6f\x70\145\x6e\x69\x64"] = $_W["\157\x70\145\156\151\x64"]; goto EfvJv; berdJ: $input["\163\150\x6f\x70\x5f\154\151\x63\145\156\163\145"] = $_GPC["\163\x68\157\x70\x5f\154\x69\x63\x65\156\x73\145"]; goto nJtT8; uu_ca: $S = new Shop(); goto McT_o; Y9yfE: ypJU2: goto nLtnv; iVblp: autoload()->func("\164\145\x6d\160\x6c\x61\164\145"); goto PoJt_; BATks: if (!$hasShop) { goto ypJU2; } goto QTBe8; ddQGq: return $this->result(0, "\345\x95\206\xe6\210\xb7\347\224\xb3\xe8\257\267\346\210\x90\xe5\212\237"); goto iihHr; AjkuK: F_5YQ: goto aL5hK; R_SPs: $key = md5("\x76\x65\162\x69\x66\x79\143\x6f\144\145" . $_W["\x75\156\151\x61\143\x69\144"] . $_W["\x6f\x70\x65\x6e\151\144"]); goto ANe54; ByzzH: dfbkf: goto uu_ca; ekRxl: return $this->result(1, "\347\224\250\xe6\210\xb7\xe4\xbf\xa1\xe6\201\257\xe9\x94\231\350\xaf\xaf"); goto e9sVn; Ug8w3: if (empty($formId)) { goto dfbkf; } goto JZl4H; z17uq: go5md: goto ddQGq; xXzuC: $filters["\165\x5f\157\160\145\156\x69\x64"] = $_W["\157\160\x65\156\x69\x64"]; goto T9pIW; PoJt_: $formId = $_GPC["\x66\x6f\162\x6d\111\144"]; goto Ug8w3; McT_o: $filters = array(); goto xXzuC; T9pIW: $hasShop = $S->getOneByFields($filters); goto BATks; A1pKz: $globalConfig = $this->module["\143\x6f\x6e\x66\151\x67"]; goto R_SPs; EfgJU: I_kr9: goto A1pKz; Y0YlX: return $this->result(1, "\351\xaa\214\350\257\x81\347\240\201\351\224\231\350\257\xaf"); goto RvAlm; o1uNy: $input["\x73\x68\157\x70\x5f\x6e\x61\155\x65"] = $_GPC["\x73\150\x6f\160\x6e\141\155\145"]; goto vOhem; EfvJv: $addShopResult = $S->create($input); goto gxiMD; vOhem: $input["\x73\150\157\160\x5f\162\145\x61\154\156\141\x6d\x65"] = $_GPC["\x72\x65\x61\154\156\141\x6d\145"]; goto a5JZg; SLmdu: return $this->result(1, "\xe8\272\xab\344\273\xbd\xe8\xaf\x81\351\224\x99\xe8\257\257"); goto AjkuK; ANe54: if (!($globalConfig["\x65\156\141\x62\x6c\145\x5f\x73\x6d\x73"] == "\61" && (empty($_GPC["\166\x65\x72\151\x66\x79\x63\157\x64\x65"]) || $_GPC["\x76\145\162\151\146\171\x63\x6f\144\x65"] != $_SESSION[$key]))) { goto puTOe; } goto Y0YlX; JZl4H: cache_write_formId($_W["\x6f\160\x65\156\151\x64"], $formId); goto ByzzH; e9sVn: NL7PC: goto iDajs; QVdCQ: if (!(empty($_GPC["\163\150\x6f\160\156\141\155\145"]) || empty($_GPC["\x72\x65\141\154\156\x61\155\x65"]) || empty($_W["\x6f\x70\145\x6e\151\x64"]))) { goto NL7PC; } goto ekRxl; RvAlm: puTOe: goto iVblp; nJtT8: $input["\163\x68\157\160\137\151\x64\145\156\x74\151\164\171"] = $_GPC["\151\x64\145\156\164\151\x74\x79"]; goto JJrQS; aL5hK: if (!(empty($_GPC["\155\157\142\151\154\145"]) || !preg_match("\x2f\136\61\133\x33\x34\65\x36\67\x38\71\x5d\x7b\61\175\134\144\x7b\71\175\x24\x2f", $_GPC["\155\157\142\x69\x6c\x65"]))) { goto I_kr9; } goto uOCzF; uOCzF: return $this->result(1, "\346\x89\213\346\234\xba\xe5\x8f\267\xe9\x94\231\350\xaf\257"); goto EfgJU; j4tHZ: global $_W, $_GPC; goto QVdCQ; iihHr: } public function doPageShopIndex() { goto XqUue; kt9wy: $Collection = new Collection(); goto TqMUw; ILHk7: $filters["\x63\154\x5f\x74\x79\x70\x65"] = 2; goto xpD9n; QX7Wh: V1nny: goto PTnYN; XZhF9: $S = new Shop(); goto uQDaQ; TqMUw: $filters = array(); goto X0vRJ; ALmKk: return $this->result(0, "\xe5\225\x86\xe6\210\xb7\xe6\x95\260\xe6\215\256\345\212\240\350\275\275\346\210\x90\xe5\x8a\237", $ds); goto Un5Rd; Zo8nM: $shop_id = $_GPC["\x73\x68\x6f\160\137\151\144"]; goto jD1vD; PTnYN: $ds["\163\x68\157\160\x5f\164\150\165\x6d\x62"] = tomedia($ds["\163\x68\157\x70\137\164\150\x75\x6d\142"]); goto DvP2V; X0vRJ: $filters["\141\x63\137\x69\x64"] = $ds["\163\150\x6f\160\x5f\151\144"]; goto ILHk7; UVWx1: if ($ds) { goto V1nny; } goto U4A5T; xpD9n: $filters["\165\x5f\157\x70\x65\x6e\x69\x64"] = $_W["\157\x70\x65\x6e\x69\144"]; goto hi97e; VkE2q: return $this->result(1, "\xe5\217\202\346\225\xb0\xe9\x94\x99\xe8\xaf\xaf"); goto uCYnv; DvP2V: $ds["\x73\150\x6f\160\x5f\x6c\x69\x63\145\x6e\163\145"] = tomedia($ds["\x73\150\x6f\x70\x5f\154\x69\143\145\x6e\163\x65"]); goto ReVdy; XqUue: global $_GPC, $_W; goto Zo8nM; hi97e: $hasCollection = $Collection->getOneByFields($filters); goto Ag1Lm; uQDaQ: $ds = $S->getOne($shop_id); goto UVWx1; U4A5T: return $this->result(1, "\xe5\225\206\346\210\267\xe6\x95\260\346\215\256\xe9\x94\231\350\257\257"); goto QX7Wh; JWr_u: vbgyG: goto ALmKk; uCYnv: SVwKZ: goto XZhF9; D_Oj7: $ds["\150\141\x73\x43\x6f\154\x6c\x65\143\164\145\x64"] = true; goto JWr_u; jD1vD: if (!empty($shop_id)) { goto SVwKZ; } goto VkE2q; ReVdy: $ds["\x73\150\x6f\x70\137\x6c\151\x76\145\x5f\161\x72\x63\157\x64\x65"] = tomedia($ds["\x73\150\x6f\160\x5f\x6c\x69\x76\x65\137\161\162\143\x6f\144\x65"]); goto kt9wy; Ag1Lm: if (!$hasCollection) { goto vbgyG; } goto D_Oj7; Un5Rd: } public function doPageShop() { goto fr22r; pk4DE: if (!$hasCollection) { goto rMte9; } goto MQUkE; VhL9a: gDajP: goto CJSId; fr22r: global $_GPC, $_W; goto yLLJX; yLLJX: $shop_id = $_GPC["\x73\150\x6f\x70\137\151\x64"]; goto Ntan6; z8HbR: $ds["\x73\150\x6f\160\x5f\154\151\x63\x65\x6e\163\145"] = tomedia($ds["\x73\x68\x6f\x70\137\x6c\x69\143\x65\x6e\163\145"]); goto ZOOjL; sBZaw: $hasCollection = $Collection->getOneByFields($filters); goto pk4DE; bLJTH: return $this->result(1, "\xe5\x95\x86\346\x88\xb7\346\225\260\346\x8d\256\351\x94\231\350\xaf\xaf"); goto VhL9a; CJSId: $ds["\x73\150\x6f\160\137\x74\x68\x75\155\x62"] = tomedia($ds["\163\x68\x6f\160\137\x74\150\165\155\142"]); goto z8HbR; bGE1j: return $this->result(1, "\345\217\x82\xe6\225\260\351\224\x99\xe8\257\257"); goto MFTzn; VtuhM: rMte9: goto dIIBJ; Ntan6: if (!empty($shop_id)) { goto IiW_4; } goto bGE1j; ZOOjL: $Collection = new Collection(); goto XjpId; MFTzn: IiW_4: goto ubZ2B; dIIBJ: return $this->result(0, "\345\225\x86\346\210\267\xe6\x95\xb0\346\x8d\256\xe5\x8a\240\350\xbd\xbd\346\210\220\xe5\212\x9f", $ds); goto ttLEr; YpsUl: if ($ds) { goto gDajP; } goto bLJTH; XjpId: $filters = array(); goto wP0D8; dfS0e: $ds = $S->getOne($shop_id); goto YpsUl; jwu9N: $filters["\x63\x6c\x5f\x74\171\x70\x65"] = 2; goto sBZaw; wP0D8: $filters["\x61\x63\x5f\151\x64"] = $ds["\x73\x68\x6f\160\x5f\151\144"]; goto jwu9N; ubZ2B: $S = new Shop(); goto dfS0e; MQUkE: $ds["\x68\141\163\x43\157\x6c\x6c\x65\143\x74\145\x64"] = true; goto VtuhM; ttLEr: } public function doPageShopInfo() { goto OwnVX; hL0GA: $shop_id = $_GPC["\163\150\157\x70\x5f\x69\x64"]; goto gxzga; gxzga: if (!empty($shop_id)) { goto x_syK; } goto HIyiI; Uy_cK: $S = new Shop(); goto S7t7a; lJ291: ZLfln: goto gL59M; rMRd3: return $this->result(0, "\345\x95\206\346\x88\xb7\xe6\x95\260\xe6\215\xae\xe5\x8a\xa0\xe8\275\275\xe6\x88\x90\345\x8a\237", $ds); goto Ix8W9; S7t7a: $ds = $S->getOne($shop_id); goto m53gc; m53gc: if ($ds) { goto ZLfln; } goto d1nuN; d1nuN: return $this->result(1, "\xe5\x95\206\xe6\x88\xb7\346\225\260\346\x8d\xae\xe9\224\x99\350\257\257"); goto lJ291; gL59M: $ds["\163\150\x6f\160\x5f\x74\150\x75\x6d\142"] = tomedia($ds["\163\x68\157\x70\x5f\164\x68\165\x6d\x62"]); goto Ou0W0; OwnVX: global $_GPC, $_W; goto hL0GA; FdPCk: x_syK: goto Uy_cK; Ou0W0: $ds["\163\x68\x6f\160\137\x6c\x69\x63\x65\x6e\x73\145"] = tomedia($ds["\x73\x68\157\160\137\154\151\143\x65\x6e\163\145"]); goto rMRd3; HIyiI: return $this->result(1, "\345\x8f\x82\346\x95\260\351\224\x99\350\257\257"); goto FdPCk; Ix8W9: } public function doPageShopEdit() { goto rAmQ1; twUSg: pvPZH: goto hO427; bxoLN: $update["\x73\150\157\160\137\x62\x61\x6e\x6b\156\x61\155\145"] = $_GPC["\142\x61\156\153\x6e\141\155\145"]; goto rE52x; BezIa: $update["\163\150\x6f\x70\137\167\x65\143\150\x61\164"] = $_GPC["\x77\x65\143\150\141\164"]; goto bxoLN; nMIMK: if (!(empty($_GPC["\x76\145\x72\x69\146\x79\x63\157\x64\x65"]) || $_GPC["\166\145\162\151\146\x79\x63\x6f\x64\145"] != $_SESSION[$key])) { goto KoN1e; } goto inNgA; Xi7S0: $update["\x73\x68\x6f\160\137\162\145\141\154\156\x61\155\x65"] = $_GPC["\x72\x65\141\154\156\141\x6d\145"]; goto M8V3m; B2mP7: if (!(empty($_GPC["\x69\144\145\156\x74\x69\164\x79"]) || !preg_match("\57\136\133\x31\x2d\x39\x5d\173\x31\x7d\x5b\x30\55\71\x5d\173\61\x34\x7d\44\174\136\x5b\x31\55\71\x5d\x7b\61\175\x5b\x30\x2d\x39\x5d\x7b\x31\66\175\x28\133\x30\x2d\71\x5d\x7c\133\x78\130\135\51\x24\x2f", $_GPC["\151\x64\145\x6e\164\151\x74\x79"]))) { goto gHLfG; } goto MJsph; qR5W9: gHLfG: goto nrVlI; PfwTh: $update["\163\x68\x6f\x70\137\155\157\142\151\x6c\x65"] = $_GPC["\x6d\157\142\151\154\145"]; goto BezIa; LRsX2: if (!empty($_GPC["\163\150\157\x70\x5f\x69\144"])) { goto pvPZH; } goto zkV45; inNgA: return $this->result(1, "\xe9\252\214\xe8\257\201\xe7\xa0\x81\xe9\224\x99\350\257\xaf"); goto aJO1V; yUuSa: $key = md5("\166\145\x72\x69\x66\x79\x63\157\x64\x65" . $_W["\165\x6e\151\141\x63\151\x64"] . $_W["\157\x70\x65\156\151\x64"]); goto nMIMK; aZILR: $updateResult = $S->modify($_GPC["\x73\150\x6f\x70\x5f\151\144"], $update); goto VzmSz; hO427: if (!(empty($_GPC["\x73\150\x6f\x70\156\141\x6d\145"]) || empty($_GPC["\162\145\x61\x6c\x6e\141\x6d\145"]) || empty($_W["\157\160\x65\x6e\151\x64"]))) { goto glnvg; } goto fc8zg; NfIMn: $update["\x73\150\x6f\160\x5f\x6e\141\155\x65"] = $_GPC["\163\x68\157\160\156\x61\x6d\x65"]; goto Xi7S0; MJsph: return $this->result(1, "\350\272\xab\344\xbb\275\xe8\xaf\x81\xe9\x94\x99\xe8\xaf\xaf"); goto qR5W9; llRO4: return $this->result(1, "\xe6\x89\213\xe6\x9c\xba\xe5\x8f\xb7\351\224\x99\350\257\257"); goto OfG4L; l0Lww: $update["\163\150\x6f\x70\x5f\141\x63\143\x6f\165\156\164\156\x61\155\x65"] = $_GPC["\x61\x63\143\x6f\165\x6e\164\156\141\x6d\145"]; goto r9rEl; IhJ1O: Yb8L0: goto aZILR; yYiBf: Yv0Ob: goto vlE53; d9M8U: $update["\x73\x68\157\160\137\x74\x68\165\155\x62"] = $_GPC["\x73\x68\x6f\160\137\164\x68\x75\x6d\x62"]; goto IhJ1O; qvR9g: return $this->result(1, "\xe6\233\xb4\346\226\260\xe5\225\206\xe6\210\xb7\350\xb5\204\xe6\226\x99\xe5\xa4\xb1\xe8\xb4\xa5"); goto yYiBf; OfG4L: N3MHW: goto yUuSa; zkV45: return $this->result(1, "\xe5\x95\206\346\210\xb7\345\217\202\xe6\x95\260\351\x94\231\xe8\xaf\257"); goto twUSg; zMxQJ: $update = array(); goto NfIMn; nrVlI: if (!(empty($_GPC["\155\157\x62\151\154\145"]) || !preg_match("\x2f\136\x31\133\x33\64\65\x37\70\x5d\x7b\61\x7d\134\x64\x7b\x39\175\44\x2f", $_GPC["\155\x6f\x62\151\154\145"]))) { goto N3MHW; } goto llRO4; bvbJ8: glnvg: goto B2mP7; rAmQ1: global $_W, $_GPC; goto LRsX2; Mc8aq: $S = new Shop(); goto zMxQJ; VzmSz: if ($updateResult) { goto Yv0Ob; } goto qvR9g; fc8zg: return $this->result(1, "\347\224\250\346\210\xb7\344\277\241\xe6\x81\xaf\351\x94\231\xe8\257\xaf"); goto bvbJ8; vlE53: return $this->result(0, "\xe6\233\xb4\346\226\xb0\xe5\225\x86\xe6\x88\xb7\350\xb5\204\346\226\x99\xe6\x88\x90\345\212\237", $update); goto anRkE; aJO1V: KoN1e: goto Mc8aq; M8V3m: $update["\163\150\157\x70\x5f\151\x64\145\156\x74\x69\164\171"] = $_GPC["\x69\x64\145\156\x74\151\164\171"]; goto PfwTh; r9rEl: if (empty($_GPC["\163\150\x6f\x70\137\164\x68\165\x6d\x62"])) { goto Yb8L0; } goto d9M8U; rE52x: $update["\x73\150\x6f\160\137\x62\x61\156\153\143\x61\162\144"] = $_GPC["\x62\141\156\x6b\x63\141\x72\144"]; goto l0Lww; anRkE: } public function doPageShopSearch() { goto y1bfr; rCFQD: $filters["\147\x72\157\x75\160\x66\x69\x6c\164\x65\x72\163"] = array("\164\171\x70\145" => "\141\156\x64", "\146\151\154\x74\x65\162\163" => array("\160\162\x6f\x5f\x6e\141\x6d\x65" => array("\166\141\154\x75\145" => "\45" . $key . "\45", "\x67\154\x75\x65" => "\x4c\111\113\105"))); goto dfVkP; MI317: return $this->result(1, "\345\217\202\346\225\xb0\xe9\x94\231\xe8\257\xaf"); goto sA065; sA065: OKSSv: goto IxZcR; iWHSM: $pageSize = 20; goto Lckbv; owX02: return $this->result(0, "\xe6\220\234\xe7\264\xa2\345\x95\x86\345\223\201\345\212\xa0\xe8\xbd\275\xe6\210\220\xe5\x8a\x9f", $ds); goto Lyoqb; nvTRd: $filters["\160\x72\157\x5f\x73\164\x61\x74\x75\163"] = 0; goto o5gHd; sKX16: $page = intval($_GPC["\x70\x61\147\x65"]); goto oZy_T; mQ7vg: if ($ds) { goto YSqfX; } goto yZqYy; y1bfr: global $_GPC, $_W; goto s3Ksg; E6Kvg: if (!(empty($shop_id) || empty($key))) { goto OKSSv; } goto MI317; dfVkP: $ds = $P->getAllByPage($filters, $page, $pageSize, $total, "\160\x72\x6f\x5f\167\145\151\147\150\x74\40\104\x45\x53\x43"); goto mQ7vg; yZqYy: return $this->result(1, "\346\234\xaa\346\x89\276\345\210\xb0\345\225\x86\345\x93\201"); goto SACfl; NoxaA: gOWXG: goto RJICK; IxZcR: $P = new Product(); goto sKX16; qSA2z: foreach ($ds as &$v) { $v["\x70\162\157\137\x74\150\165\x6d\142"] = tomedia($v["\x70\162\157\137\x74\150\165\155\142"]); xughe: } goto NoxaA; o5gHd: $filters["\x73\150\157\160\x5f\151\x64"] = $shop_id; goto rCFQD; SACfl: YSqfX: goto qSA2z; QDr_n: $filters = array(); goto nvTRd; jAtEF: $key = $_GPC["\153\145\171"]; goto E6Kvg; oZy_T: $page = max($page, 1); goto iWHSM; s3Ksg: $shop_id = $_GPC["\x73\150\157\160\x5f\x69\144"]; goto jAtEF; Lckbv: $total = 0; goto QDr_n; RJICK: unset($v); goto owX02; Lyoqb: } public function doPageShopCenter() { goto MdPFR; HLtDt: return $this->result(1, "\xe5\225\x86\xe6\x88\xb7\xe4\277\241\346\x81\257\xe9\224\x99\xe8\xaf\xaf"); goto DfXfV; yMKt2: if (!empty($_W["\157\x70\x65\x6e\x69\x64"])) { goto oOi9D; } goto aqSno; aqSno: return $this->result(1, "\344\274\x9a\345\221\230\xe4\277\xa1\346\201\xaf\xe9\224\x99\xe8\257\xaf"); goto iFQht; aGKHK: $filters["\163\143\x61\156\137\143\162\x65\141\x74\145\164\x69\155\145"] = array("\163\164\x61\x72\164" => $beginToday, "\x65\156\x64" => $endToday); goto R78BK; BgBta: $Shop = new Shop(); goto mEhbe; rW8II: $shopInfo["\x74\x6f\144\x61\x79\x43\x6f\165\x6e\x74"] = $todayCount; goto q7wXy; iFQht: oOi9D: goto BgBta; i4GMh: $M = new Member(); goto DOxyN; O16q0: $total = 0; goto IfL8G; eRfNk: $pageSize = 50; goto O16q0; DOxyN: $memberInfo = $M->getOneByOpenid($_W["\157\160\x65\x6e\x69\144"]); goto S_3zh; WwPfY: $filters["\163\x68\x6f\x70\137\151\x64"] = $shopInfo["\163\150\157\x70\x5f\x69\144"]; goto MOwjJ; VEdVZ: $endToday = date("\x59\x2d\x6d\55\144\40\110\x3a\x69\x3a\163", mktime(0, 0, 0, date("\155"), date("\x64") + 1, date("\x59")) - 1); goto GuG2z; ZQtLt: $endThisMonth = date("\x59\x2d\155\x2d\x64\x20\x48\72\x69\x3a\x73", mktime(23, 59, 59, date("\x6d"), date("\164"), date("\131"))); goto rYo93; PtOAN: $shopInfo["\155\145\x6d\142\x65\162\111\156\146\157"] = $memberInfo; goto nfloc; uGrMO: $filters["\163\x68\157\160\x5f\151\144"] = $shopInfo["\163\x68\x6f\x70\137\151\144"]; goto aGKHK; DNTyN: if (!$scanList) { goto gx1rL; } goto vVT1Y; PpYVG: $shopInfo["\x73\x68\x6f\160\x5f\x74\150\x75\155\x62"] = tomedia($shopInfo["\x73\150\x6f\x70\x5f\x74\150\165\155\142"]); goto i4GMh; mULKv: $filters["\165\137\x6f\160\145\156\x69\144"] = $_W["\157\x70\145\156\151\x64"]; goto FHrva; MOwjJ: $scanList = $Scan->getAllByPage($filters, $page, $pageSize, $total, "\x73\143\x61\156\137\143\x72\145\x61\x74\x65\x74\x69\155\x65\40\x44\x45\123\103"); goto DNTyN; RUHj9: $beginToday = date("\131\x2d\155\55\144\40\110\72\151\72\163", mktime(0, 0, 0, date("\x6d"), date("\x64"), date("\131"))); goto VEdVZ; MK6fs: $shopInfo["\x6d\157\x6e\x74\x68\x43\x6f\x75\x6e\164"] = $monthCount; goto rW8II; g6LE2: if ($shopInfo) { goto vLljL; } goto HLtDt; FHrva: $shopInfo = $Shop->getOneByFields($filters); goto g6LE2; vVT1Y: foreach ($scanList as &$v) { $v["\163\x63\x61\x6e\x5f\x63\162\x65\141\x74\x65\164\151\155\145"] = date("\155\57\144\x20\110\x3a\151", strtotime($v["\x73\143\141\156\x5f\143\162\x65\x61\x74\145\x74\x69\x6d\x65"])); oesDp: } goto C3sDi; iDtyG: $todayCount = $todayCount ?: 0; goto MK6fs; IdFLZ: $Scan = new Scan(); goto Xir4M; Cvg12: $monthCount = $monthCount ?: 0; goto RUHj9; ba3Rb: $filters["\163\x68\157\160\137\151\x64"] = $shopInfo["\x73\150\157\x70\137\x69\x64"]; goto q_oNG; h2RzC: $monthCount = $Scan->getAllCount($filters); goto Cvg12; mEhbe: $filters = array(); goto mULKv; E0ilk: unset($v); goto mYMS8; q7wXy: return $this->result(0, "\345\212\xa0\350\275\275\345\225\206\xe6\x88\xb7\xe6\x88\x90\345\212\237", $shopInfo); goto LpZel; IfL8G: $filters = array(); goto WwPfY; S_3zh: if (!$memberInfo) { goto s6oqn; } goto PtOAN; vLzOq: $beginThisMonth = date("\x59\x2d\155\55\x64\40\x48\72\151\x3a\x73", mktime(0, 0, 0, date("\155"), 1, date("\x59"))); goto ZQtLt; q_oNG: $filters["\163\x63\141\156\x5f\143\162\145\x61\164\x65\164\x69\155\145"] = array("\163\x74\141\x72\x74" => $beginThisMonth, "\145\156\144" => $endThisMonth); goto h2RzC; nfloc: s6oqn: goto IdFLZ; MdPFR: global $_W, $_GPC; goto yMKt2; Oo3LQ: $page = max($page, 1); goto eRfNk; C3sDi: GXp7C: goto E0ilk; R78BK: $todayCount = $Scan->getAllCount($filters); goto iDtyG; CRNL8: gx1rL: goto vLzOq; DfXfV: vLljL: goto PpYVG; mYMS8: $shopInfo["\x73\143\x61\156\x4c\151\x73\x74"] = $scanList; goto CRNL8; Xir4M: $page = intval($_GPC["\x70\141\147\x65"]); goto Oo3LQ; rYo93: $filters = array(); goto ba3Rb; GuG2z: $filters = array(); goto uGrMO; LpZel: } public function doPageSearchTicket() { goto mAdVk; fB0Dk: foreach ($scanList as &$v) { $v["\x73\143\141\x6e\137\143\162\x65\x61\x74\145\x74\151\x6d\145"] = date("\x6d\x2f\144\40\110\x3a\151", strtotime($v["\x73\x63\x61\156\x5f\143\162\x65\x61\x74\145\164\x69\155\x65"])); ztmy1: } goto wTYQb; lU579: $total = 0; goto a1D8H; mAdVk: global $_W, $_GPC; goto PKKY1; JDkaf: $page = max($page, 1); goto zpXTh; Ox_by: return error(1, "\345\x8f\202\xe6\225\xb0\351\224\x99\350\xaf\257"); goto pzM__; DD94n: unset($v); goto zwSht; wTYQb: YuGfb: goto DD94n; Rb6AS: $scanList = $Scan->getAllByPage($filters, $page, $pageSize, $total, "\163\x63\141\x6e\137\143\162\x65\x61\164\x65\164\x69\155\x65\40\104\x45\x53\103"); goto OriFM; aQjYr: $shop_id = $_GPC["\x73\x68\x6f\160\x5f\x69\144"]; goto gKZ9J; V01WB: JVDNK: goto zN4Wi; vlqNh: $page = intval($_GPC["\160\x61\x67\x65"]); goto JDkaf; zpXTh: $pageSize = 50; goto lU579; zN4Wi: return $this->result(1, "\xe6\237\245\346\211\xbe\xe7\245\250\xe6\215\xae\345\xa4\xb1\350\264\xa5"); goto QirHD; pzM__: WGz4s: goto sZOv1; OriFM: if (!$scanList) { goto JVDNK; } goto fB0Dk; PvIOD: $filters["\147\x72\157\x75\160\146\151\154\164\145\162\x73"] = array("\164\171\160\145" => "\141\156\144", "\146\151\154\x74\145\162\x73" => array("\x74\x6b\137\x63\157\x64\x65" => array("\x76\x61\x6c\x75\145" => "\45" . $key . "\45", "\x67\154\x75\x65" => "\114\x49\x4b\x45"))); goto Rb6AS; sZOv1: $Scan = new Scan(); goto vlqNh; PKKY1: $key = $_GPC["\153\145\171"]; goto aQjYr; gKZ9J: if (!(empty($key) || empty($shop_id))) { goto WGz4s; } goto Ox_by; zwSht: return $this->result(0, "\xe6\x9f\245\346\x89\xbe\347\245\xa8\xe6\215\256\xe6\210\x90\xe5\x8a\x9f", $scanList); goto V01WB; lawaC: $filters["\163\x68\157\160\x5f\151\x64"] = $shop_id; goto PvIOD; a1D8H: $filters = array(); goto lawaC; QirHD: } public function doPageOperatorList() { goto WORC1; q9uxN: return $this->result(0, "\345\212\240\350\275\xbd\xe6\x93\215\344\275\x9c\xe5\221\230\346\x88\220\345\x8a\x9f", $ds); goto ivh3y; UezK3: $M = new Member(); goto atfIN; ZtwI2: $ds = $M->getAll($filters); goto HWL0D; lDLXV: $filters["\x73\150\x6f\160\137\x69\144"] = $_GPC["\163\150\x6f\x70\137\x69\144"]; goto ZtwI2; PrIPm: return $this->result(1, "\345\212\240\xe8\275\275\346\x93\x8d\xe4\xbd\234\xe5\221\230\xe9\x94\x99\350\xaf\xaf"); goto kRRFb; VI_1S: if (!empty($_GPC["\x73\x68\x6f\x70\x5f\x69\x64"])) { goto Cd4vL; } goto nPBhf; kRRFb: Ql6fO: goto q9uxN; HWL0D: if ($ds) { goto Ql6fO; } goto PrIPm; nPBhf: return $this->result(1, "\xe5\217\x82\346\225\260\xe9\224\231\350\xaf\257"); goto VvEMv; VvEMv: Cd4vL: goto UezK3; atfIN: $filters = array(); goto lDLXV; WORC1: global $_GPC; goto VI_1S; ivh3y: } public function doPageSearchMember() { goto Xe2jn; gKWOJ: $MemberService = new MemberService(); goto um9CR; Xe2jn: global $_GPC; goto jV9zd; tZJoN: if (!is_error($searchResult)) { goto kgHn7; } goto KBm1T; m_5gl: return $this->result(1, "\345\x8f\202\346\225\260\xe9\224\x99\xe8\257\257"); goto XD2eL; jV9zd: if (!empty($_GPC["\153\x65\x79"])) { goto hKQN0; } goto m_5gl; U6djC: kgHn7: goto VtmBb; um9CR: $searchResult = $MemberService->getOneMemberByName($_GPC["\153\x65\x79"]); goto tZJoN; XD2eL: hKQN0: goto gKWOJ; KBm1T: return $this->result(1, "\346\x9c\252\346\x89\276\xe5\210\260\344\xbc\232\345\x91\x98"); goto U6djC; VtmBb: return $this->result(0, "\346\x90\234\347\264\xa2\344\274\232\345\221\230\346\210\220\xe5\212\x9f", $searchResult); goto PgehI; PgehI: } public function doPageAuthOperator() { goto tvcS1; icfPT: if (!(empty($_GPC["\163\x68\157\x70\x5f\151\x64"]) || empty($_GPC["\155\x65\x6d\x62\x65\x72\x5f\151\x64"]))) { goto DyYWG; } goto n2Djy; aW7TY: $update = array(); goto XFnRD; LEgR1: $authResult = $M->modify($_GPC["\x6d\145\x6d\142\145\x72\x5f\151\144"], $update); goto CZIT7; CZIT7: if ($authResult) { goto UhMIA; } goto fUGXk; fUGXk: return $this->result(1, "\xe6\216\210\346\235\x83\346\x93\215\344\275\x9c\xe5\xa4\261\350\264\xa5"); goto dncFU; XFnRD: $update["\163\150\157\x70\137\x69\x64"] = $_GPC["\163\150\157\x70\x5f\151\x64"]; goto hLyi0; dKQSb: $M = new Member(); goto aW7TY; SEB7o: DyYWG: goto dKQSb; dncFU: UhMIA: goto wpOXV; hLyi0: $update["\x75\x5f\151\163\137\141\144\x6d\151\x6e"] = 1; goto LEgR1; wpOXV: return $this->result(0, "\346\216\x88\346\x9d\203\346\x93\x8d\xe4\xbd\x9c\xe6\210\x90\345\212\x9f"); goto Q_uGr; n2Djy: return $this->result(1, "\xe5\217\x82\xe6\x95\260\351\224\231\xe8\257\257"); goto SEB7o; tvcS1: global $_GPC; goto icfPT; Q_uGr: } public function doPageCancelOperator() { goto SIE6w; KpqYu: $update["\x73\x68\x6f\x70\137\x69\x64"] = ''; goto nfosa; XmSP2: if ($authResult) { goto TN_P5; } goto yK4nY; hgjOq: return $this->result(0, "\345\217\226\xe6\xb6\210\xe6\x8e\210\346\x9d\203\xe6\223\x8d\344\xbd\234\xe6\x88\x90\345\x8a\237"); goto Pmf3Q; TbAHJ: if (!empty($_GPC["\x6d\x65\x6d\142\x65\162\x5f\x69\144"])) { goto wX2PG; } goto eWRRJ; eWRRJ: return $this->result(1, "\345\x8f\x82\xe6\x95\260\xe9\224\x99\xe8\xaf\257"); goto t3BrE; SIE6w: global $_GPC; goto TbAHJ; NH_en: $authResult = $M->modify($_GPC["\x6d\x65\155\x62\145\x72\137\151\x64"], $update); goto XmSP2; Vwqo2: TN_P5: goto hgjOq; nfosa: $update["\165\137\x69\x73\x5f\x61\144\155\x69\x6e"] = 0; goto NH_en; yK4nY: return $this->result(1, "\345\217\x96\xe6\266\210\346\x8e\x88\346\235\x83\346\223\x8d\344\xbd\234\xe5\xa4\261\xe8\264\245"); goto Vwqo2; fw2WO: $update = array(); goto KpqYu; t3BrE: wX2PG: goto uKs_P; uKs_P: $M = new Member(); goto fw2WO; Pmf3Q: } public function doPageTouristAdd() { goto ToqME; MlDqv: XwQM9: goto YzdWg; nX3qw: return $this->result(1, "\345\x8f\202\346\225\xb0\351\x94\x99\xe8\xaf\257"); goto asX_f; VKa3s: if ($insertResult) { goto BgSBX; } goto Iu7dj; Y8OQA: X3tEL: goto eomCd; Ab5Jg: $insertResult = $T->create($insert); goto VKa3s; dW8N5: if (!(empty($name) || empty($type) || empty($card) || empty($mobile) || empty($_W["\x6f\x70\x65\156\x69\x64"]))) { goto tx5mQ; } goto nX3qw; ULqff: $T = new Tourist(); goto xCuHV; N4ew2: $type = $_GPC["\x74\171\x70\x65"]; goto ODxot; Iu7dj: return $this->result(1, "\346\x95\260\xe6\x8d\256\xe6\267\xbb\xe5\x8a\240\351\224\x99\350\257\257"); goto L613Z; xCuHV: $name = $_GPC["\156\141\155\x65"]; goto N4ew2; aLH8E: return $this->result(1, "\346\x89\213\346\x9c\xba\xe5\217\xb7\xe9\224\231\350\257\257"); goto MlDqv; cwzJx: $insert["\x74\x6f\165\162\151\163\164\x5f\x6e\141\x6d\x65"] = $name; goto n4eia; DohTg: $insert["\x75\x5f\x6f\x70\145\156\151\144"] = $_W["\157\160\x65\x6e\x69\x64"]; goto cwzJx; L613Z: BgSBX: goto FFmnF; NFwTI: if (!($type == "\350\272\xab\xe4\273\xbd\xe8\257\x81")) { goto X3tEL; } goto C5Kgk; ToqME: global $_W, $_GPC; goto ULqff; e0S9k: $insert["\x74\157\x75\162\151\163\164\137\155\157\142\x69\154\x65"] = $mobile; goto Ab5Jg; QAdeh: return $this->result(1, "\xe8\272\253\xe4\xbb\xbd\350\257\x81\xe5\217\xb7\351\224\231\350\257\xaf"); goto D1jPi; asX_f: tx5mQ: goto NFwTI; FFmnF: return $this->result(0, "\xe6\xb7\xbb\345\x8a\xa0\346\270\xb8\345\xae\242\346\x88\220\xe5\212\237"); goto K7ebE; D1jPi: vKNP_: goto Y8OQA; Atk0y: $insert["\x74\157\165\x72\151\x73\164\x5f\143\x61\162\144"] = $card; goto e0S9k; SO7ub: if (IdentityCard::isValid($card)) { goto vKNP_; } goto QAdeh; WVZS5: $mobile = $_GPC["\x6d\157\x62\x69\154\x65"]; goto dW8N5; ODxot: $card = $_GPC["\x63\x61\162\144"]; goto WVZS5; C5Kgk: autoload()->util("\111\144\145\x6e\164\x69\164\171\x43\x61\x72\144"); goto SO7ub; eomCd: if (preg_match("\x2f\136\61\x5b\63\64\65\66\67\x38\71\x5d\x5c\x64\x7b\71\x7d\44\57", $mobile)) { goto XwQM9; } goto aLH8E; YzdWg: $insert = array(); goto DohTg; n4eia: $insert["\164\157\165\x72\151\x73\164\137\164\171\160\145"] = $type; goto Atk0y; K7ebE: } public function doPageTouristEdit() { goto ZPVyV; sklNH: $card = $_GPC["\x63\141\162\144"]; goto Hkbyw; Nx0Gu: $update["\164\157\165\x72\151\163\164\x5f\156\x61\155\145"] = $name; goto xBX85; m932J: $name = $_GPC["\156\141\x6d\x65"]; goto uuMLL; IF7TY: return $this->result(1, "\346\211\x8b\346\234\272\xe5\x8f\267\351\x94\231\xe8\257\257"); goto TpV5h; xWGvJ: YqwWl: goto Gah3l; uuMLL: $type = $_GPC["\164\x79\160\145"]; goto sklNH; czT33: $update["\164\x6f\x75\162\151\x73\x74\137\155\157\142\151\x6c\x65"] = $mobile; goto aNMlR; eoi0R: return $this->result(1, "\346\225\xb0\xe6\215\256\346\x9b\xb4\346\226\xb0\351\224\231\350\xaf\xaf"); goto xWGvJ; t7onR: if (!(empty($id) || empty($name) || empty($type) || empty($card) || empty($mobile) || empty($_W["\157\x70\x65\x6e\151\x64"]))) { goto LOvMP; } goto KPqz_; aNMlR: $updateResult = $T->modify($id, $update); goto hEGdC; ZPVyV: global $_W, $_GPC; goto cYeXd; Nz2OD: $update = array(); goto Nx0Gu; MJ0ir: $update["\x74\157\x75\162\151\x73\164\x5f\x63\141\162\x64"] = $card; goto czT33; xBX85: $update["\x74\157\165\162\151\163\164\137\164\x79\160\145"] = $type; goto MJ0ir; TpV5h: D9FSS: goto Nz2OD; dIls9: LOvMP: goto EV1ta; hEGdC: if ($updateResult) { goto YqwWl; } goto eoi0R; Gah3l: return $this->result(0, "\xe6\270\270\345\xae\xa2\xe6\x9b\xb4\xe6\226\260\xe6\x88\220\345\212\237"); goto rJiFj; XLp3g: $id = $_GPC["\x69\x64"]; goto t7onR; cYeXd: $T = new Tourist(); goto m932J; Hkbyw: $mobile = $_GPC["\155\157\142\x69\154\145"]; goto XLp3g; KPqz_: return $this->result(1, "\xe5\x8f\202\xe6\x95\260\xe9\x94\x99\xe8\257\xaf"); goto dIls9; EV1ta: if (preg_match("\57\x5e\61\133\x33\x34\65\66\67\70\71\135\x5c\x64\173\x39\x7d\44\x2f", $mobile)) { goto D9FSS; } goto IF7TY; rJiFj: } public function doPageTourist() { goto imGKH; BunFY: $T = new Tourist(); goto jWLLB; k6oe5: Vw9DO: goto LDj5n; AsCXO: return $this->result(0, "\345\x8a\xa0\xe8\xbd\xbd\xe6\xb8\xb8\xe5\xae\xa2\xe6\210\220\345\212\237", $tourist); goto W1xt1; imGKH: global $_W, $_GPC; goto BunFY; Mg66Z: return $this->result(1, "\345\212\xa0\350\xbd\xbd\xe6\270\270\xe5\256\xa2\344\xbf\xa1\346\x81\xaf\xe9\x94\231\xe8\xaf\xaf"); goto HW6n9; jWLLB: if (!empty($_W["\157\160\x65\156\151\144"])) { goto Vw9DO; } goto knKAO; L_UOC: $filters["\x75\x5f\157\160\145\x6e\x69\x64"] = $_W["\x6f\160\x65\x6e\x69\x64"]; goto GT63R; GT63R: $tourist = $T->getAll($filters); goto sBcCz; knKAO: return $this->result(1, "\xe7\224\xa8\xe6\x88\xb7\344\xbf\241\346\x81\257\351\x94\x99\xe8\257\257"); goto k6oe5; LDj5n: $filters = array(); goto L_UOC; sBcCz: if ($tourist) { goto mSQ_x; } goto Mg66Z; HW6n9: mSQ_x: goto AsCXO; W1xt1: } public function doPageTouristDelete() { goto SAC1a; WTY6l: return $this->result(1, "\345\x8f\x82\xe6\x95\260\351\224\x99\350\xaf\xaf"); goto Q4HYB; abOkr: if (!(empty($_W["\x6f\160\x65\x6e\151\144"]) || empty($id))) { goto RLoSw; } goto WTY6l; WHnil: $id = $_GPC["\151\x64"]; goto abOkr; ZSy66: $T = new Tourist(); goto WHnil; OnnmG: return $this->result(0, "\xe5\210\240\351\231\244\346\x88\x90\345\212\x9f"); goto NSFH9; LxrQ_: return $this->result(1, "\345\x88\240\xe9\231\xa4\346\x95\260\346\x8d\xae\345\244\xb1\xe8\xb4\xa5"); goto Hy6yG; Hy6yG: mB8Ej: goto OnnmG; laYyi: $deleteResult = $T->delete($id); goto Mb2wj; SAC1a: global $_W, $_GPC; goto ZSy66; Mb2wj: if ($deleteResult) { goto mB8Ej; } goto LxrQ_; Q4HYB: RLoSw: goto laYyi; NSFH9: } public function doPageTouristInfo() { goto RB11J; A9005: if (!empty($id)) { goto iP54k; } goto Ix0AI; RB11J: global $_W, $_GPC; goto F_99G; K56MD: $touristInfo = $T->getOne($id); goto rQ3Qw; GbdW1: return $this->result(0, "\345\x8a\xa0\350\xbd\275\xe6\270\270\xe5\xae\242\346\210\220\345\212\237", $touristInfo); goto RN7X3; ida9t: iP54k: goto K56MD; E_Z6h: $id = $_GPC["\151\x64"]; goto A9005; Ix0AI: return $this->result(1, "\345\217\202\xe6\225\260\xe9\224\x99\350\xaf\257"); goto ida9t; rQ3Qw: if ($touristInfo) { goto nrQ0U; } goto V2795; F_99G: $T = new Tourist(); goto E_Z6h; V2795: return $this->result(1, "\345\212\xa0\350\xbd\xbd\xe6\xb8\270\345\xae\242\xe4\277\241\xe6\201\xaf\xe9\224\231\xe8\257\257"); goto vtw8i; vtw8i: nrQ0U: goto GbdW1; RN7X3: } public function doPageShopStatistics() { goto tN6C2; huyFz: $statistics = $ShopService->getStatistics($shopInfo["\x73\150\x6f\x70\137\151\x64"]); goto D8X4O; u0Xk4: bXRBS: goto tFYbY; nyqbh: return $this->result(1, "\345\225\206\xe6\x88\267\344\277\241\346\x81\257\xe9\224\x99\xe8\257\xaf"); goto RICzT; LuEJq: return $this->result(1, $statistics["\x6d\145\x73\163\x61\x67\145"]); goto u0Xk4; tN6C2: global $_W, $_GPC; goto Lk2az; LOrKx: $shopInfo = $Shop->getOneByFields($filters); goto CD_3I; pMrco: return $this->result(0, "\345\x8a\xa0\350\275\xbd\xe5\x95\x86\346\210\xb7\xe4\xbf\xa1\346\x81\257", $shopInfo); goto nXIv3; CD_3I: if ($shopInfo) { goto MI5lE; } goto nyqbh; SGvvs: $filters["\x75\137\157\x70\x65\156\x69\x64"] = $_W["\157\x70\145\156\151\x64"]; goto LOrKx; VMQX6: $ShopService = new ShopService(); goto huyFz; dkkdn: tiOHC: goto DtVhx; QVfpl: $shopInfo["\163\x68\x6f\x70\x5f\x74\150\x75\x6d\142"] = tomedia($shopInfo["\x73\x68\x6f\x70\x5f\164\x68\x75\155\x62"]); goto VMQX6; tFYbY: $shopInfo["\163\x74\x61\164\151\x73\164\151\x63\x73"] = $statistics; goto pMrco; SFEq0: $filters = array(); goto SGvvs; DcMtV: return $this->result(1, "\xe4\xbc\x9a\345\221\x98\xe4\xbf\xa1\346\201\xaf\xe9\x94\231\xe8\xaf\xaf"); goto dkkdn; Lk2az: if (!empty($_W["\157\160\145\156\x69\144"])) { goto tiOHC; } goto DcMtV; DtVhx: $Shop = new Shop(); goto SFEq0; D8X4O: if (!is_error($statistics)) { goto bXRBS; } goto LuEJq; RICzT: MI5lE: goto QVfpl; nXIv3: } public function doPageShopWithdrawInfo() { goto lsLh0; I38hA: $data["\x77\x69\x74\x68\x64\x72\141\167\x43\171\x63\154\x65"] = $withdrawCycle; goto lJA1y; lJA1y: $data["\163\x68\157\160\137\151\x64"] = $shopInfo["\x73\150\157\x70\137\x69\x64"]; goto e4HCW; xg0Dc: if ($shopInfo) { goto uA6_m; } goto I4HD2; lsLh0: global $_W, $_GPC; goto EdTeX; EdTeX: if (!empty($_W["\x6f\x70\x65\x6e\x69\144"])) { goto WQEO8; } goto N_q10; N_q10: return $this->result(1, "\xe4\274\x9a\xe5\x91\230\xe4\277\241\xe6\x81\257\351\224\x99\xe8\257\xaf"); goto uhrMV; L8ktP: $data["\x61\x70\x70\154\171\115\157\x6e\145\171"] = $shopInfo["\163\150\x6f\x70\137\141\x70\x70\154\x79\155\x6f\156\x65\x79"]; goto bHzUo; uuWaT: $shopInfo = $Shop->getOneByFields($filters); goto xg0Dc; B9hx8: uA6_m: goto fIFwZ; I4HD2: return $this->result(1, "\345\225\206\346\x88\267\344\xbf\241\346\201\257\xe9\224\x99\xe8\257\xaf"); goto B9hx8; bHzUo: $data["\165\x73\x65\x64\x4d\157\x6e\145\x79"] = floor(($shopInfo["\163\x68\x6f\160\x5f\164\x6f\x74\141\154\x6d\157\156\145\x79"] - $shopInfo["\x73\x68\157\160\137\x62\141\154\x61\x6e\x63\145"]) * 100) / 100; goto vm1e8; fIFwZ: $data = array(); goto lNEBx; oLTEy: $withdrawCycle = $withdrawCycle ? $withdrawCycle : 7; goto I38hA; i5kiE: $Shop = new Shop(); goto u2BKE; lNEBx: $data["\x62\x61\x6c\x61\x6e\x63\145"] = $data["\x61\x6c\154\x6f\167\115\x6f\156\145\x79"] = $shopInfo["\x73\x68\x6f\x70\137\142\141\x6c\x61\x6e\x63\x65"]; goto L8ktP; e4HCW: return $this->result(0, "\345\x8a\xa0\350\xbd\275\346\x8f\x90\xe7\216\260\xe4\277\241\346\x81\xaf", $data); goto d39i_; uhrMV: WQEO8: goto i5kiE; vm1e8: $withdrawCycle = $this->module["\143\157\x6e\146\151\147"]["\x77\151\x74\x68\144\x72\x61\167\103\171\143\x6c\x65"]; goto oLTEy; u2BKE: $filters = array(); goto OMcvc; OMcvc: $filters["\165\137\x6f\160\145\x6e\x69\x64"] = $_W["\157\x70\145\x6e\151\144"]; goto uuWaT; d39i_: } public function doPageMakeShopWithdraw() { goto tYruR; mGQRT: EmHzL: goto Dmqa6; yMRue: if (!(empty($_W["\x6f\x70\x65\x6e\x69\144"]) || $fee <= 0)) { goto EmHzL; } goto fc3N8; Dmqa6: $Shop = new Shop(); goto AYEMe; y6A3Y: RWF9A: goto vW4tf; Nyy7K: $withdrawResult = $ShopService->makeWithdraw($shopInfo["\x73\x68\157\x70\137\151\144"], $fee, $rate); goto ZKTr0; AYEMe: $filters = array(); goto rPK20; tYruR: global $_W, $_GPC; goto D0qwS; ZKTr0: if (!is_error($withdrawResult)) { goto gRipM; } goto xmtyc; D0qwS: $fee = $_GPC["\146\145\x65"]; goto yMRue; pi8Sn: return $this->result(0, "\346\x8f\x90\347\x8e\xb0\xe6\x88\x90\xe5\212\237"); goto x2e94; rPK20: $filters["\165\x5f\x6f\x70\x65\156\x69\x64"] = $_W["\x6f\x70\x65\x6e\151\144"]; goto OwOtY; nitjA: $rate = $this->module["\143\x6f\156\146\x69\147"]["\x73\150\157\160\x5f\167\x69\164\x68\144\x72\x61\167\x5f\162\x61\164\145"]; goto Nyy7K; K8IFv: if ($shopInfo) { goto RWF9A; } goto SUExb; fc3N8: return $this->result(1, "\xe5\x8f\202\xe6\225\260\351\224\231\xe8\257\257"); goto mGQRT; xmtyc: return $this->result(1, $withdrawResult["\155\x65\x73\x73\x61\147\x65"]); goto B9QEr; SUExb: return $this->result(1, "\xe5\x95\x86\346\x88\267\xe4\xbf\241\xe6\201\257\xe9\x94\x99\350\xaf\xaf"); goto y6A3Y; B9QEr: gRipM: goto pi8Sn; vW4tf: $ShopService = new ShopService(); goto nitjA; OwOtY: $shopInfo = $Shop->getOneByFields($filters); goto K8IFv; x2e94: } public function doPageShopWithdrawList() { goto IC_ua; fEoKy: if (!(empty($_W["\x6f\x70\145\156\x69\x64"]) || empty($shop_id))) { goto p2q7J; } goto YPzKk; C20Z8: if ($ds) { goto N8tJo; } goto c0j1S; Fe1qT: j2SJb: goto u29bD; i24Wj: $shop_id = $_GPC["\x73\150\157\x70\x5f\x69\x64"]; goto fEoKy; oi90k: foreach ($ds as $k => &$v) { goto bzRCf; bzRCf: $v["\x64\167\x5f\x73\164\x61\164\165\163"] = $withdrawStatus["{$v["\x64\167\x5f\163\164\141\x74\165\x73"]}"]; goto nhezn; vw2Op: fNVUJ: goto rcRC2; nhezn: $v["\144\x77\137\x63\162\x65\141\164\145\x74\x69\155\145"] = date("\131\x2d\155\55\x64\40\x48\72\151", strtotime($v["\144\167\137\x63\162\145\141\x74\x65\164\151\155\145"])); goto vw2Op; rcRC2: } goto Fe1qT; c0j1S: return $this->result(1, "\xe6\x95\xb0\xe6\x8d\256\xe4\270\215\xe5\255\230\345\234\250"); goto rc4n_; PzOyS: global $_W, $_GPC; goto i24Wj; YPzKk: return $this->result(1, "\xe5\217\202\346\x95\xb0\xe9\224\231\xe8\257\257"); goto lFblI; IC_ua: require_once MODULE_ROOT . "\57\x75\x74\x69\x6c\x2f\123\x68\x6f\160\x57\151\x74\x68\144\162\141\167\105\x6e\x75\155\56\165\164\151\154\x2e\160\x68\x70"; goto PzOyS; KQ0hm: $SW = new ShopWithdraw(); goto HcPNi; HcPNi: $page = intval($_GPC["\160\141\x67\145"]); goto N1EvW; u29bD: return $this->result(0, "\345\x8a\240\350\275\275\xe5\225\206\346\210\267\xe6\217\220\347\216\260\345\210\x97\xe8\241\xa8\346\x88\x90\345\x8a\x9f", $ds); goto pgBwJ; jvrkZ: $pageSize = 100; goto M5ds_; u_Zmo: $ds = $SW->getAllByPage($filters, $page, $pageSize, $total, "\x64\167\x5f\x69\144\x20\104\x45\x53\x43"); goto C20Z8; XgsEB: $filters["\x73\150\157\x70\x5f\151\144"] = $shop_id; goto u_Zmo; M5ds_: $total = 0; goto zX78b; lFblI: p2q7J: goto KQ0hm; rc4n_: N8tJo: goto oi90k; N1EvW: $page = max($page, 1); goto jvrkZ; zX78b: $filters = array(); goto XgsEB; pgBwJ: } public function doPageGroupDetail() { goto aTQqZ; Q1X3C: if (!is_error($groupDetail)) { goto xmsbS; } goto FTG6_; cyN73: $id = $_GPC["\151\144"]; goto MnVLn; pAbs2: $groupDetail = $GroupService->groupDetail($id); goto Q1X3C; FTG6_: return $this->result(1, $groupDetail["\x6d\145\163\163\141\x67\x65"]); goto JPh2x; JPh2x: xmsbS: goto cHwuB; aTQqZ: global $_W, $_GPC; goto cyN73; cHwuB: return $this->result(0, "\xe5\212\xa0\350\275\275\346\213\274\345\233\xa2\344\277\xa1\xe6\201\xaf\xe6\x88\x90\345\212\x9f", $groupDetail); goto nY_eF; MnVLn: $GroupService = new GroupService(); goto pAbs2; nY_eF: } public function doPageFaceAdd() { goto yCgZ0; yCgZ0: global $_W, $_GPC; goto Z3tve; EjXoa: $tempFile = $_FILES["\146\x69\154\x65"]["\164\x6d\160\x5f\156\141\x6d\145"]; goto UlOAA; Et3tH: PLPTv: goto EjXoa; C5lvR: $Member = new Member(); goto pNFNK; ISfuk: $appSecret = $globalConfig["\146\x61\x63\145\x5f\x73\145\x63\x72\145\164"]; goto AvNmA; Z3tve: if (!empty($_FILES["\146\x69\x6c\145"]["\x74\155\x70\x5f\156\x61\x6d\x65"])) { goto PvPpE; } goto Ml73p; kAVTA: if ($memberInfo) { goto PLPTv; } goto K1wxo; lB4fX: if (!empty($_W["\x6f\x70\145\156\x69\x64"])) { goto zDKrZ; } goto qJ_Zt; E0y7G: PvPpE: goto lB4fX; qJ_Zt: return $this->result(1, "\347\x94\250\346\210\267\xe7\231\273\345\275\225\xe9\x94\x99\350\xaf\xaf"); goto Rpo69; UlOAA: $globalConfig = $this->module["\143\x6f\156\x66\x69\147"]; goto ULhIz; K1wxo: return $this->result(1, "\344\xbc\232\345\x91\x98\xe4\xbf\xa1\xe6\x81\257\xe9\224\x99\350\257\257"); goto Et3tH; Ml73p: return $this->result(1, "\344\272\272\xe8\204\xb8\xe9\224\x99\xe8\xaf\xaf"); goto E0y7G; FZe0X: $FaceService = new FaceService($appKey, $appSecret); goto rul7S; pNFNK: $memberInfo = $Member->getOneByOpenid($_W["\x6f\x70\x65\x6e\x69\144"]); goto kAVTA; OPDhy: if (!is_error($addResult)) { goto KL2c_; } goto ZXwR_; sxODU: return $this->result(0, "\xe4\xba\272\350\204\xb8\xe9\207\x87\xe9\x9b\206\346\210\220\xe5\212\x9f"); goto d2uHk; Rpo69: zDKrZ: goto C5lvR; AvNmA: $group_id = $globalConfig["\x66\x61\143\145\x5f\x67\x72\x6f\165\x70"]; goto X4mF1; rul7S: $addResult = $FaceService->addFace($tempFile, $user_id, $group_id); goto OPDhy; ZXwR_: return $this->result(1, $addResult["\155\145\163\x73\x61\147\x65"]); goto wkr9y; ULhIz: $appKey = $globalConfig["\146\x61\x63\145\x5f\153\145\x79"]; goto ISfuk; X4mF1: $user_id = $memberInfo["\165\137\x69\144"]; goto FZe0X; wkr9y: KL2c_: goto sxODU; d2uHk: } public function doPageHasFace() { goto ElW5z; Hd8mW: $user_id = $memberInfo["\x75\137\x69\x64"]; goto sFeA6; VvTsa: if (!empty($_W["\x6f\x70\x65\156\151\144"])) { goto NyRKD; } goto Ny25f; n48OW: $appKey = $globalConfig["\146\x61\x63\x65\x5f\153\145\x79"]; goto TP9Rq; D82gl: $group_id = $globalConfig["\146\x61\x63\x65\137\147\x72\157\165\160"]; goto Hd8mW; UdXTm: NyRKD: goto Wa2PA; Qkauh: if (!is_error($hasResult)) { goto TrCyK; } goto xFSRQ; vTehG: if ($memberInfo) { goto Fzt3B; } goto VhjKL; sFeA6: $FaceService = new FaceService($appKey, $appSecret); goto OdIT2; INsCZ: return $this->result(0, "\345\267\xb2\xe5\255\x98\345\234\250\344\xba\272\350\204\xb8"); goto hfTdP; TP9Rq: $appSecret = $globalConfig["\x66\141\143\145\137\x73\x65\x63\x72\145\x74"]; goto D82gl; YggeU: $memberInfo = $Member->getOneByOpenid($_W["\157\x70\145\x6e\x69\144"]); goto vTehG; OdIT2: $hasResult = $FaceService->faceList($user_id, $group_id); goto Qkauh; X4EWe: TrCyK: goto INsCZ; VhjKL: return $this->result(1, "\344\xbc\232\xe5\x91\230\xe4\277\241\xe6\201\xaf\xe9\224\231\350\xaf\257"); goto TMSde; xFSRQ: return $this->result(1, $hasResult["\155\x65\x73\163\141\147\145"]); goto X4EWe; Wa2PA: $Member = new Member(); goto YggeU; Ny25f: return $this->result(1, "\347\224\250\346\x88\267\xe7\x99\xbb\345\xbd\225\xe9\x94\x99\350\257\xaf"); goto UdXTm; TMSde: Fzt3B: goto WkFyJ; WkFyJ: $globalConfig = $this->module["\x63\157\156\146\151\147"]; goto n48OW; ElW5z: global $_W, $_GPC; goto VvTsa; hfTdP: } public function doPageFaceCheck() { goto rfWtM; w28te: $appKey = $globalConfig["\x66\141\143\145\x5f\153\145\171"]; goto gxTyO; qwdMJ: $shopId = $memberInfo["\x73\150\x6f\160\x5f\151\x64"]; goto lMUOP; lMUOP: if (!empty($_FILES["\x66\151\x6c\145"]["\x74\155\x70\x5f\x6e\141\155\x65"])) { goto ykiRZ; } goto C3lOb; C3lOb: return $this->result(1, "\344\272\xba\350\x84\270\351\x94\231\350\xaf\xaf"); goto dBZ_l; Vf8ra: $M = new Member(); goto G0hT9; gxTyO: $appSecret = $globalConfig["\x66\x61\x63\145\137\x73\145\143\x72\145\x74"]; goto qEJJP; hEHa2: LrQCe: goto qwdMJ; aOgo6: $FaceService = new FaceService($appKey, $appSecret); goto Mlkd6; KWzIt: return $this->result(0, "\344\xba\xba\xe8\204\xb8\xe9\252\214\xe7\xa5\xa8\xe6\x88\220\xe5\x8a\237"); goto RvqXs; cB1tW: return $this->result(1, $checkResult["\155\145\163\163\141\147\145"]); goto bQXof; Mlkd6: $checkResult = $FaceService->faceCheck($tempFile, $group_id_list, $shopId, $log); goto kYnYt; lFfNh: if (!(!$memberInfo || $memberInfo["\165\137\151\x73\x5f\141\x64\x6d\151\x6e"] != 1 || $memberInfo["\x73\150\x6f\x70\x5f\151\144"] < 1)) { goto LrQCe; } goto G4ZGQ; kYnYt: if (!is_error($checkResult)) { goto Lvlia; } goto cB1tW; G0hT9: $memberInfo = $M->getOneByOpenid($_W["\x6f\x70\145\x6e\151\x64"]); goto lFfNh; gXBSF: $log = "\xe7\256\xa1\347\220\x86\xe5\221\x98\x28" . $memberInfo["\x75\x5f\x6e\x69\x63\153\156\x61\155\x65"] . "\x29\344\xba\xba\xe8\204\270\xe9\xaa\214\xe7\245\xa8"; goto GbXV2; GbXV2: $tempFile = $_FILES["\x66\151\154\x65"]["\164\155\x70\137\x6e\141\155\145"]; goto G7NMV; G4ZGQ: return $this->result(1, "\347\256\241\347\220\x86\xe5\221\230\xe4\277\241\xe6\x81\257\xe9\224\x99\350\257\257"); goto hEHa2; LRBxw: return $this->result(1, "\351\252\x8c\xe7\245\250\xe5\x91\x98\344\xbf\xa1\346\x81\xaf\351\224\231\350\257\257"); goto RXDSz; bQXof: Lvlia: goto KWzIt; dBZ_l: ykiRZ: goto gXBSF; qEJJP: $group_id_list = $globalConfig["\146\x61\x63\x65\137\x67\x72\157\x75\x70"]; goto aOgo6; rfWtM: global $_W; goto sm2HF; RXDSz: mUIjh: goto Vf8ra; G7NMV: $globalConfig = $this->module["\143\157\156\x66\x69\147"]; goto w28te; sm2HF: if (!empty($_W["\x6f\x70\145\156\151\x64"])) { goto mUIjh; } goto LRBxw; RvqXs: } public function doPageFaceSetCode() { goto U3iry; U3iry: global $_W, $_GPC; goto PLwPn; DCZWm: $Member = new Member(); goto Pbcxn; V_j9d: $ScanService = new ScanService(); goto qRYXb; HzQJ5: if (!(empty($_W["\157\160\x65\156\151\x64"]) || empty($code))) { goto ZOY3I; } goto uaL0c; ntYKL: ZOY3I: goto DCZWm; PUcVo: return $this->result(1, "\xe4\274\232\xe5\x91\230\xe4\xbf\xa1\xe6\201\257\xe9\x94\231\350\257\257"); goto gy00T; Pbcxn: $memberInfo = $Member->getOneByOpenid($_W["\157\160\145\x6e\151\x64"]); goto UQTC0; uaL0c: return $this->result(1, "\346\x9c\252\347\231\xbb\345\275\225\346\210\226\xe5\x8f\202\xe6\x95\xb0\351\224\x99\350\257\257"); goto ntYKL; nnaC9: return $this->result(0, "\350\xae\276\xe7\xbd\256\351\242\204\351\252\214\347\xa5\xa8\xe6\210\220\xe5\x8a\x9f", $code); goto MeZnE; PLwPn: $code = $_GPC["\143\x6f\x64\145"]; goto HzQJ5; UQTC0: if ($memberInfo) { goto Qe7f9; } goto PUcVo; gy00T: Qe7f9: goto V_j9d; qRYXb: $ScanService->setCurrentCode($code, $memberInfo["\165\137\x69\x64"]); goto nnaC9; MeZnE: } public function doPageFaceGetCode() { goto Ja3nE; bEB31: Kchcc: goto c4hCY; iLN8L: return $this->result(1, "\344\274\x9a\345\221\x98\344\277\241\346\201\xaf\xe9\x94\231\350\257\257"); goto bEB31; WHyiG: $memberInfo = $Member->getOneByOpenid($_W["\x6f\160\x65\156\x69\x64"]); goto vL2yw; RR47H: return $this->result(1, $code["\x6d\145\x73\163\141\147\145"]); goto ytGU9; KTrH3: $code = $ScanService->getCurrentCode($memberInfo["\165\x5f\151\x64"]); goto ihfE0; oxfot: KZkJ0: goto ssN0a; xL63F: return $this->result(0, "\345\x8a\240\350\xbd\xbd\351\xa2\x84\xe9\xaa\214\347\245\xa8\346\210\x90\345\212\237", $code); goto Guoq5; Ja3nE: global $_W, $_GPC; goto xD8Lc; gPY_3: return $this->result(1, "\346\x9c\252\347\231\273\345\275\x95\xe6\x88\x96\345\217\202\xe6\x95\260\351\x94\x99\xe8\257\257"); goto oxfot; c4hCY: $ScanService = new ScanService(); goto KTrH3; ytGU9: jKhU1: goto xL63F; ssN0a: $Member = new Member(); goto WHyiG; vL2yw: if ($memberInfo) { goto Kchcc; } goto iLN8L; xD8Lc: if (!empty($_W["\157\x70\145\x6e\x69\x64"])) { goto KZkJ0; } goto gPY_3; ihfE0: if (!is_error($code)) { goto jKhU1; } goto RR47H; Guoq5: } public function doPageAboutUs() { $detail = htmlspecialchars_decode($this->module["\x63\x6f\156\x66\151\x67"]["\141\x62\x6f\x75\164\x5f\165\163"]); return $this->result(0, "\345\212\240\350\275\xbd\345\205\xb3\344\272\x8e\xe6\x88\221\344\xbb\xac\346\210\220\xe5\x8a\237", $detail); } public function doPageForum() { goto a3SNC; a3SNC: global $_W; goto Frzhq; jpDyV: foreach ($advInfo as &$item) { goto aaDy3; aaDy3: $item["\x74\x68\165\x6d\142"] = tomedia($item["\x74\150\x75\x6d\142"]); goto xQ3Um; bn1Qo: sol57: goto ESyPm; xQ3Um: $item["\153\145\x79"] = $item["\154\151\x6e\153"]; goto bn1Qo; ESyPm: } goto lpSDw; JeoeB: $data["\164\x69\164\154\x65"] = $title; goto vgUlg; i_X5p: if (!is_error($category)) { goto odt3k; } goto wckWv; kI02M: if (empty($title)) { goto I1amL; } goto JeoeB; I9dgd: $articles = $ArticleService->forumArticle(); goto HXiOM; GRGd4: return $this->result(0, "\345\212\240\xe8\xbd\275\346\x88\220\345\212\237", $data); goto yzRWz; fM1ox: $ArticleService = new ArticleService(); goto I9dgd; KN0gH: uzG3m: goto GRGd4; pYjwz: goto uzG3m; goto Rfyfp; M0VoJ: if ($advInfo) { goto wdPKA; } goto aXqCL; wLh6u: wdPKA: goto jpDyV; J6sBL: $advInfo = pdo_getall("\150\x6d\x75\154\164\151\163\x68\157\x70\137\141\144\166\x65\x72", array("\145\x6e\141\x62\x6c\145\x64" => 1, "\164\171\x70\x65" => 3, "\x75\156\x69\141\x63\151\144" => $_W["\x75\x6e\x69\141\143\x69\x64"]), array(), '', "\x64\x69\x73\160\154\x61\x79\157\x72\144\x65\162\x20\104\x45\123\x43"); goto M0VoJ; xWRNf: Ts1kW: goto fM1ox; aXqCL: $data["\x62\x61\156\x6e\x65\162"] = array(); goto dlHev; dlHev: goto Ts1kW; goto wLh6u; pTaNF: $title = $globalConfig["\146\x6f\162\x75\155\x5f\x74\151\x74\154\x65"]; goto kI02M; wckWv: $category = array(); goto SbhMG; Al67B: $globalConfig = $this->module["\x63\x6f\156\x66\x69\147"]; goto hOUdg; ZYMAh: $data = array(); goto KKLcL; Rfyfp: X7eXY: goto xWHJ0; KKLcL: $data["\143\141\164\x65\147\157\162\171"] = $category; goto HC52D; HC52D: $data["\164\150\162\x65\141\144"] = $ForumService->getAppThread(); goto pTaNF; xWHJ0: $data["\x61\162\164\151\143\154\x65\163"] = $articles; goto KN0gH; SbhMG: odt3k: goto ZYMAh; ZyS1T: $data["\142\141\156\156\x65\162"] = $advInfo; goto xWRNf; Frzhq: $ForumService = new ForumService(); goto Al67B; gFycB: $data["\x61\162\164\x69\143\154\145\163"] = array(); goto pYjwz; vgUlg: I1amL: goto J6sBL; HXiOM: if (!is_error($articles)) { goto X7eXY; } goto gFycB; hOUdg: $category = $ForumService->formatAppCategory($globalConfig); goto i_X5p; lpSDw: D0Psp: goto ZyS1T; yzRWz: } public function doPageMoreThread() { goto cwc0Q; KHV4c: $page = $_GPC["\x70\x61\147\x65"]; goto uoiWB; VBylv: $threads = $ForumService->getAppThread($page, $categoryId); goto xbG_c; pRBvT: $ForumService = new ForumService(); goto VBylv; xbG_c: if (!is_error($threads)) { goto oFM1x; } goto jG2da; iYTfr: return $this->result(0, "\xe5\212\240\350\xbd\xbd\346\x88\220\345\x8a\x9f", $threads); goto v_qkJ; uoiWB: $categoryId = $_GPC["\x63\x61\164\x65\147\157\x72\x79\111\144"]; goto pRBvT; cwc0Q: global $_W, $_GPC; goto KHV4c; E176q: oFM1x: goto iYTfr; jG2da: return $this->result(1, $threads["\155\145\x73\163\x61\147\x65"]); goto E176q; v_qkJ: } public function doPageRewardInfo() { goto Jvz0Y; tkHLE: $rewardInfo = $ForumService->getThreadRewardInfo($threadId); goto LkErM; gOm8z: $threadId = $_GPC["\164\x68\162\145\141\x64\x49\x64"]; goto Eb5op; wTTFU: iabXP: goto ZpVa6; QpzhR: if (!is_array($rewardMoney)) { goto iabXP; } goto WrLDJ; ZpVa6: return $this->result(0, "\345\x8a\xa0\350\275\275\xe6\x88\220\345\212\237", $rewardInfo); goto st0Ia; Eb5op: $ForumService = new ForumService(); goto tkHLE; WBa8J: $rewardMoney = $this->module["\x63\x6f\x6e\146\x69\147"]["\x66\x6f\x72\165\x6d\137\x72\145\167\x61\x72\x64\x5f\x6d\157\x6e\145\171"]; goto ysO7Y; ysO7Y: if (!empty($rewardMoney)) { goto nTD0u; } goto ahKdZ; Jvz0Y: global $_W, $_GPC; goto gOm8z; GCRAP: return $this->result(1, $rewardInfo["\155\145\163\163\141\x67\145"]); goto ZH8Gl; LkErM: if (!is_error($rewardInfo)) { goto n3nDd; } goto GCRAP; ZH8Gl: n3nDd: goto WBa8J; VDFgE: nTD0u: goto kzmX0; ahKdZ: $rewardMoney = "\x31\x23\x32\x23\x35\43\61\x30\x23\62\60\x23\65\x30"; goto VDFgE; kzmX0: $rewardMoney = explode("\x23", $rewardMoney); goto QpzhR; WrLDJ: $rewardInfo["\155\157\156\145\x79\x43\157\x6e\146\x69\x67"] = $rewardMoney; goto wTTFU; st0Ia: } public function doPageReward() { goto gNLFi; CB2Ko: pHQb0: goto JLjWe; lM43G: return $this->result(1, $orderId["\x6d\x65\163\163\x61\x67\145"]); goto CB2Ko; IuFNV: $orderId = $RewardService->doReward($threadId, $money, $_W["\157\160\x65\x6e\x69\x64"]); goto gVitG; JLjWe: return $this->result(0, "\346\211\x93\350\xb5\217\xe6\210\x90\345\212\237", $orderId); goto cCPiE; gNLFi: global $_W, $_GPC; goto zMbdr; IDRJg: $RewardService = new RewardService(); goto IuFNV; zMbdr: $threadId = $_GPC["\x74\x68\x72\x65\141\144\x49\x64"]; goto GAUh8; GAUh8: $money = $_GPC["\x6d\157\x6e\145\x79"]; goto IDRJg; gVitG: if (!is_error($orderId)) { goto pHQb0; } goto lM43G; cCPiE: } public function doPageRewardSuccess() { goto MMFm2; EUqum: $orderId = $_GPC["\x6f\x72\x64\145\x72\x49\144"]; goto r_xUQ; iqcIF: if (!is_error($result)) { goto ik3d8; } goto m0c5s; MMFm2: global $_W, $_GPC; goto EUqum; Vp9MS: return $this->result(0, "\xe6\211\223\xe8\265\x8f\xe6\x94\257\xe4\273\x98\xe6\x88\x90\xe5\x8a\237"); goto Y3GLZ; dIY74: ik3d8: goto Vp9MS; m0c5s: return $this->result(1, $result["\155\145\163\163\x61\147\x65"]); goto dIY74; r_xUQ: $RewardService = new RewardService(); goto qVq7R; qVq7R: $result = $RewardService->rewardPaySuccess($orderId); goto iqcIF; Y3GLZ: } public function doPageComment() { goto DG3tH; kQfsZ: return $this->result(1, $commentResult["\x6d\x65\163\x73\141\147\x65"]); goto RkK3R; haSu5: $ForumService = new ForumService(); goto Fs9C8; DG3tH: global $_W, $_GPC; goto OXooT; OXooT: $threadId = $_GPC["\164\x68\x72\x65\x61\144\x49\x64"]; goto q9IRY; UFwfu: if (!is_error($commentResult)) { goto vPzJU; } goto kQfsZ; q9IRY: $content = $_GPC["\x63\x6f\156\x74\x65\x6e\x74"]; goto haSu5; Fs9C8: $commentResult = $ForumService->doComment($threadId, $_W["\157\x70\145\x6e\x69\144"], $content); goto UFwfu; i60ca: return $this->result(0, "\xe8\xaf\204\xe8\256\272\346\210\220\xe5\212\237"); goto JnVi1; RkK3R: vPzJU: goto i60ca; JnVi1: } public function doPageVote() { goto U8bQd; P9ySR: $voteResult = $ForumService->doVote($threadId, $_W["\157\160\145\156\151\x64"]); goto LTvQD; rXTOY: RkFas: goto PiG2U; e1yHR: $threadId = $_GPC["\164\150\x72\x65\x61\x64\111\144"]; goto WrvGe; WrvGe: $ForumService = new ForumService(); goto P9ySR; Vr7oV: return $this->result(1, $voteResult["\155\x65\163\163\141\x67\145"]); goto rXTOY; LTvQD: if (!is_error($voteResult)) { goto RkFas; } goto Vr7oV; PiG2U: return $this->result(0, "\xe7\x82\xb9\350\265\236\346\x88\220\xe5\212\237"); goto qypxs; U8bQd: global $_W, $_GPC; goto e1yHR; qypxs: } public function doPageThread() { goto np3BR; np3BR: global $_W, $_GPC; goto j9wDj; fsaMU: $topConfig = $this->module["\x63\x6f\x6e\146\151\147"]["\x66\157\x72\165\155\137\x74\157\x70"]; goto nhHdQ; YRbCC: if (is_error($category)) { goto RJJVi; } goto ZzVaw; ZzVaw: $data["\143\141\x74\145\x67\157\162\x79"] = $category; goto rUZ33; nhHdQ: $data["\164\157\160"] = $ForumService->formatTop($topConfig); goto AXtrS; Xsz8o: $data["\145\156\141\142\x6c\x65\x5f\x76\x69\x64\x65\157"] = $this->module["\143\x6f\156\146\151\x67"]["\x66\157\162\165\x6d\137\x65\x6e\141\x62\154\x65\x5f\166\151\144\x65\x6f"]; goto rePLw; zpg5l: $ForumService = new ForumService(); goto xOcui; xOcui: $category = $ForumService->getThreadCategory(); goto YRbCC; rUZ33: RJJVi: goto fsaMU; rePLw: return $this->result(0, "\345\212\240\350\275\xbd\xe5\270\226\xe5\xad\x90\xe4\277\241\xe6\201\xaf\xe6\x88\220\xe5\x8a\237", $data); goto YSt1N; AXtrS: $data["\x65\156\141\x62\x6c\x65\x5f\166\157\x69\x63\145"] = $this->module["\x63\x6f\x6e\146\x69\x67"]["\146\x6f\x72\x75\x6d\x5f\145\156\141\x62\154\x65\137\x76\x6f\151\x63\x65"]; goto Xsz8o; j9wDj: $data = array(); goto zpg5l; YSt1N: } public function doPageParseLocation() { goto jtLFB; QJHRb: $data["\x61\x64\x64\162\x65\x73\163"] = $address; goto Re6Sj; jKtK6: $address = $data["\x70\x72\x6f\x76\151\x6e\143\x65"] . "\xc2\267" . $data["\x63\x69\164\171"] . "\xc2\xb7" . $data["\144\151\x73\x74\x72\151\143\x74"]; goto QJHRb; kStXG: $data = $LocationService->parseDistrict($latitude, $longitude, $mapKey); goto jKtK6; kAaDM: $latitude = $_GPC["\x6c\141\x74\151\164\x75\x64\145"]; goto rdn9O; YZ4Uy: return $this->result(0, "\350\xa7\243\xe6\236\220\xe5\x9c\xb0\xe5\x9d\x80\xe6\210\x90\xe5\212\x9f", $data); goto kV0jP; U7XDq: mAIi0: goto YZ4Uy; RAxiF: $LocationService = new LocationService(); goto kStXG; Re6Sj: if (!is_error($data)) { goto mAIi0; } goto I7vIf; I7vIf: return $this->result(1, $data["\155\145\x73\x73\141\x67\145"]); goto U7XDq; rdn9O: $longitude = $_GPC["\154\x6f\x6e\x67\x69\x74\165\x64\x65"]; goto MD9uk; jtLFB: global $_W, $_GPC; goto kAaDM; MD9uk: $mapKey = $this->module["\143\157\x6e\x66\151\x67"]["\155\141\x70\x5f\x6b\x65\x79"]; goto RAxiF; kV0jP: } public function doPageSendThread() { goto icZdH; icZdH: global $_W, $_GPC; goto cyN2C; whyft: $topConfig = $this->module["\x63\x6f\x6e\x66\x69\147"]["\146\x6f\x72\x75\155\x5f\x74\x6f\160"]; goto bLkBa; NaAlJ: return $this->result(1, $sendResult["\155\145\x73\x73\x61\x67\145"]); goto NW2nn; NW2nn: ieXwJ: goto f52tl; cyN2C: $_GPC["\x6f\160\145\156\151\x64"] = $_W["\157\x70\145\156\x69\x64"]; goto KPE6T; KPE6T: $_GPC["\x69\155\x61\147\x65\x73"] = htmlspecialchars_decode($_GPC["\x69\155\x61\x67\x65\163"]); goto whyft; jgabv: $sendResult = $ForumService->sendThread($_GPC, $topConfig); goto qS7G8; f52tl: return $this->result(0, "\345\x8f\221\345\xb8\x96\xe6\210\220\xe5\212\237", $sendResult); goto cQLFB; qS7G8: if (!is_error($sendResult)) { goto ieXwJ; } goto NaAlJ; bLkBa: $ForumService = new ForumService(); goto jgabv; cQLFB: } public function doPagePaySuccessThread() { goto Ad1bt; R3OIC: $ForumService = new ForumService(); goto vZuf6; hmfuT: return $this->result(0, "\xe5\xb8\x96\345\xad\x90\346\277\x80\346\264\xbb\346\210\x90\xe5\212\237"); goto immvi; Ad1bt: global $_W, $_GPC; goto LB1Kt; hGdzd: return $this->result(1, $result["\155\x65\x73\x73\x61\147\x65"]); goto ZQdZU; vZuf6: $result = $ForumService->paySuccessThread($threadId); goto qfj6w; LB1Kt: $threadId = $_GPC["\164\150\162\145\x61\144\x49\x64"]; goto R3OIC; qfj6w: if (!is_error($result)) { goto bfTES; } goto hGdzd; ZQdZU: bfTES: goto hmfuT; immvi: } public function doPageUpgradeVip() { goto RlNVj; Slelh: $upgradeResult = $MemberService->upgradeVip($_W["\157\x70\x65\156\151\144"]); goto Kdkcl; tKtke: $MemberService = new MemberService(); goto Slelh; Kdkcl: if (!is_error($upgradeResult)) { goto uKRKm; } goto DbxZn; RlNVj: global $_W, $_GPC; goto tKtke; TvZLh: uKRKm: goto tnp72; tnp72: return $this->result(0, "\xe5\x8d\207\xe7\272\xa7\x56\x49\x50\xe6\210\x90\345\212\237"); goto PvQbn; DbxZn: return $this->result(1, $upgradeResult["\x6d\x65\163\163\141\147\x65"]); goto TvZLh; PvQbn: } public function doPageAddVipPayLog() { goto pEa3l; pEa3l: global $_W, $_GPC; goto z6iF9; BJ9i0: if (!is_error($result)) { goto fPCU4; } goto NZUpO; NZUpO: return $this->result(1, $result["\155\145\163\163\141\x67\145"]); goto oAMvW; lcMAu: $result = $PayLogService->addVipLog($fee, $_W["\157\160\145\156\x69\144"]); goto BJ9i0; z6iF9: $PayLogService = new PayLogService(); goto nGE0T; zqcGY: $data["\x63\157\144\x65"] = $result; goto xTdsk; xTdsk: return $this->result(0, "\346\xb7\xbb\xe5\212\xa0\xe6\227\xa5\345\xbf\x97\xe6\210\x90\345\x8a\237", $data); goto PRbJH; NQOd0: $data = array(); goto G8nUC; G8nUC: $data["\x66\x65\x65"] = $fee; goto zqcGY; oAMvW: fPCU4: goto NQOd0; nGE0T: $fee = $this->module["\x63\157\x6e\146\151\x67"]["\x76\151\x70\x5f\x6d\157\x6e\145\x79"]; goto lcMAu; PRbJH: } public function doPageSearch() { goto So6oI; BhOte: $articles = $ArticleService->searchArticle($keyword); goto gFsQI; fg85M: return $this->result(0, "\345\x8a\240\xe8\xbd\275\346\226\207\347\253\xa0\346\x88\220\xe5\x8a\237", $articles); goto vNEvx; F6klG: return $this->result(1, $articles["\155\x65\163\x73\141\x67\x65"]); goto S0L5t; gFsQI: if (!is_error($articles)) { goto ysG3M; } goto F6klG; vNEvx: goto TrGxr; goto YhkXK; VLWQT: if ($type == "\160\x72\157\x64\165\x63\164") { goto vwEvz; } goto Wxrjq; s4wGx: $ProductService = new ProductService(); goto NSnJO; So6oI: global $_W, $_GPC; goto izN82; YhkXK: vwEvz: goto s4wGx; S0L5t: ysG3M: goto fg85M; iNWWj: return $this->result(0, "\xe5\x8a\xa0\350\275\275\xe5\225\206\xe5\x93\201\xe6\x88\x90\xe5\212\x9f", $products); goto vECb9; onGlR: sza2v: goto iNWWj; vECb9: TrGxr: goto KD3nY; tiSje: return $this->result(1, $products["\155\145\x73\x73\x61\147\x65"]); goto onGlR; izN82: $keyword = $_GPC["\153\145\x79\x77\157\x72\144"]; goto PYKXE; NSnJO: $products = $ProductService->searchProduct($keyword); goto QKaxS; QKaxS: if (!is_error($products)) { goto sza2v; } goto tiSje; Wxrjq: $ArticleService = new ArticleService(); goto BhOte; PYKXE: $type = $_GPC["\x74\x79\x70\145"]; goto VLWQT; KD3nY: } public function doPageBalanceWithdraw() { goto ANIy3; PrJk_: return $this->result(1, $withdrawResult["\x6d\x65\163\163\141\x67\145"]); goto Tlgiq; q7Fyy: $withdrawResult = $MemberService->balanceWithdraw($_W["\x6f\160\x65\156\151\x64"]); goto UnqKw; qi_ur: $MemberService = new MemberService(); goto q7Fyy; ANIy3: global $_W, $_GPC; goto qi_ur; nWHJb: return $this->result(0, "\xe6\x8f\220\xe7\x8e\260\xe6\x88\220\xe5\x8a\237"); goto tzBKN; UnqKw: if (!is_error($withdrawResult)) { goto LAZy3; } goto PrJk_; Tlgiq: LAZy3: goto nWHJb; tzBKN: } public function doPageMapKey() { goto g8WpI; I9S0w: $map_key = $this->module["\x63\157\156\146\151\x67"]["\x6d\141\x70\x5f\153\x65\171"]; goto LIyHh; LIyHh: return $this->result(0, "\xe5\x8a\240\xe8\xbd\xbd\345\x9c\260\xe5\233\xbe\x4b\145\171\xe6\210\x90\345\212\237", $map_key); goto f8cFD; g8WpI: global $_W; goto I9S0w; f8cFD: } public function doPageShopNearby() { goto CR2v9; jOcYH: h1TWw: goto TYgk4; cGaBE: return $this->result(1, "\xe4\275\x8d\xe7\xbd\xae\xe5\x8f\x82\346\x95\260\346\x88\x96\345\234\260\xe5\x9b\xbe\x4b\x45\131\xe9\224\231\350\257\xaf"); goto NBgIL; CR2v9: global $_W, $_GPC; goto thi93; tDNJP: if (!($showMobile == 1)) { goto h1TWw; } goto FJn8i; CQ6_7: return $this->result(1, $areas["\155\x65\163\163\x61\147\x65"]); goto NExDV; u7N1j: $longitude = $_GPC["\154\157\156\x67\151\x74\165\x64\145"]; goto I2c0U; unsBH: hQWzK: goto tpqGw; NExDV: HwNyk: goto oTdfX; fNww3: if (!is_error($areas)) { goto HwNyk; } goto CQ6_7; I2c0U: $key = $this->module["\143\157\x6e\x66\x69\x67"]["\155\141\x70\137\x6b\145\x79"]; goto Mu7wx; FJn8i: foreach ($areas as &$area) { unset($area["\x67\x72\157\165\x70\x5f\x6d\x6f\x62\151\154\x65"]); OLwDL: } goto unsBH; tpqGw: unset($area); goto jOcYH; oTdfX: $showMobile = $this->module["\x63\x6f\x6e\x66\x69\147"]["\x69\163\137\163\x68\x6f\167\137\155\157\142\151\154\145"]; goto tDNJP; Mu7wx: if (!(empty($latitude) || empty($longitude) || empty($key))) { goto jHS1k; } goto cGaBE; TYgk4: return $this->result(0, "\345\x8a\xa0\xe8\275\xbd\345\xb0\x8f\345\x8c\xba\xe6\210\220\345\x8a\x9f", $areas); goto ZAmWY; IdlvA: $areas = $LocationService->getAreaByLbs($latitude, $longitude, $key, $city); goto fNww3; E7dfu: $LocationService = new LocationService(); goto IdlvA; thi93: $latitude = $_GPC["\x6c\141\164\151\164\x75\x64\145"]; goto u7N1j; NBgIL: jHS1k: goto E7dfu; ZAmWY: } public function doPageClockMapData() { goto bUkNa; bUkNa: $ClockService = new ClockService(); goto CmRV0; X9l3P: if (!is_error($mapData)) { goto PmCIA; } goto X8bNa; pz2gN: return $this->result(0, "\345\212\xa0\xe8\275\xbd\xe6\211\223\xe5\215\xa1\xe6\xb4\xbb\xe5\x8a\xa8\xe6\x88\220\345\x8a\237", $mapData); goto aqZSG; ta7xU: PmCIA: goto pz2gN; CmRV0: $mapData = $ClockService->getClockPage(); goto X9l3P; X8bNa: return $this->result(1, $mapData["\155\145\163\x73\x61\x67\x65"]); goto ta7xU; aqZSG: } public function doPageClockDetail() { goto tC382; tC382: global $_W, $_GPC; goto OcEjY; ZtgCj: $detail = $ClockService->getDetailPage($id); goto rphJM; OcEjY: $id = $_GPC["\x69\144"]; goto FX1pQ; xqGwA: return $this->result(1, $detail["\155\145\163\163\141\147\145"]); goto FJOlI; FX1pQ: $ClockService = new ClockService(); goto ZtgCj; FJOlI: Bz7cw: goto a1OqY; a1OqY: return $this->result(0, "\xe5\212\240\xe8\xbd\xbd\xe6\211\223\345\x8d\xa1\xe6\264\xbb\345\212\xa8\346\x88\220\345\212\237", $detail); goto C5G_i; rphJM: if (!is_error($detail)) { goto Bz7cw; } goto xqGwA; C5G_i: } public function doPageDoClock() { goto U7ClF; zUbex: $longitude = $_GPC["\154\157\156\147\151\164\165\x64\x65"]; goto DsGDt; S32is: return $this->result(0, "\346\x89\223\xe5\215\241\xe6\x88\x90\345\212\237"); goto PsFMd; S0koR: return $this->result(1, $result["\155\145\x73\x73\x61\147\145"]); goto GtunE; KE9VS: hDUsq: goto BKQji; SfpKX: if (!is_error($result)) { goto KDRV_; } goto S0koR; ifDyB: $result = $ClockService->doClockPage($clockId, $memberId, $latitude, $longitude, $mapKey, $share_image); goto SfpKX; N4SMq: $ClockService = new ClockService(); goto ifDyB; DWfmL: $Member = new Member(); goto EH8HS; UmOWE: $latitude = $_GPC["\x6c\x61\x74\151\x74\x75\x64\145"]; goto zUbex; V9h0K: if ($memberInfo) { goto hDUsq; } goto Yxb9q; KFfWg: $mapKey = $this->module["\x63\157\x6e\x66\151\x67"]["\155\141\160\137\x6b\x65\171"]; goto N4SMq; DsGDt: $share_image = $_GPC["\163\150\x61\162\145\137\x69\155\141\147\x65"]; goto DWfmL; BKQji: $memberId = $memberInfo["\165\x5f\x69\144"]; goto KFfWg; A27fX: $clockId = $_GPC["\151\144"]; goto UmOWE; U7ClF: global $_W, $_GPC; goto A27fX; Yxb9q: return $this->result(1, "\344\274\x9a\xe5\x91\230\xe4\277\xa1\346\201\xaf\xe9\224\x99\xe8\257\257"); goto KE9VS; EH8HS: $memberInfo = $Member->getOneByOpenid($_W["\157\x70\145\156\151\144"]); goto V9h0K; GtunE: KDRV_: goto S32is; PsFMd: } public function doPageCreditConvert() { goto j9Tdw; j9Tdw: global $_W; goto V72Mg; QAWW_: $memberInfo = $MemberService->getMemberInfo($_W["\x6f\160\145\156\x69\144"]); goto nHH00; pJEbB: if (!is_error($creditResult)) { goto TzVRd; } goto Z6V30; DGTdp: $globalConfig = $this->module["\x63\157\x6e\146\x69\147"]; goto LuLAI; JxZ7Y: return $this->result(0, "\xe7\247\257\345\x88\x86\xe5\205\221\xe6\215\xa2\xe6\x88\220\xe5\x8a\x9f"); goto TSMS_; LuLAI: $creditResult = $MemberService->creditConvert($memberInfo, $globalConfig); goto pJEbB; Bgpla: return $this->result(1, $memberInfo["\x6d\145\x73\x73\141\x67\145"]); goto ju7Vt; Z6V30: return $this->result(1, $creditResult["\155\145\x73\x73\x61\147\x65"]); goto mIxtX; V72Mg: $MemberService = new MemberService(); goto QAWW_; nHH00: if (!is_error($memberInfo)) { goto UIUMa; } goto Bgpla; ju7Vt: UIUMa: goto DGTdp; mIxtX: TzVRd: goto JxZ7Y; TSMS_: } public function doPageBalancePay() { goto HhB6o; HhB6o: global $_W, $_GPC; goto tjzIy; UD734: $memberInfo = $MemberService->getMemberInfo($_W["\x6f\x70\145\x6e\151\x64"]); goto ewDI_; Kyot9: Kg9AZ: goto z7NYh; tjzIy: $fee = $_GPC["\146\145\145"]; goto ZeGB1; ysPVY: $PayResultService = new PayResultService($globalConfig); goto yyLH0; TZjLo: $orderResult = $PayResultService->payResult($params); goto yDCaj; z7NYh: $payResult = $MemberService->balancePay($memberInfo, $fee); goto EzA8M; rKwTx: $MemberService = new MemberService(); goto UD734; skktW: $params["\164\141\147"]["\x74\x72\x61\156\x73\x61\143\164\x69\x6f\156\x5f\151\144"] = ''; goto GPtV8; ewDI_: if (!is_error($memberInfo)) { goto Kg9AZ; } goto ZaJR2; Otq7w: $params["\146\x72\x6f\155"] = "\x6e\157\164\151\146\x79"; goto TZjLo; Zsz6G: return $this->result(1, $orderResult["\x6d\145\163\163\x61\147\145"]); goto jkdos; k7aEI: $globalConfig = $this->module["\143\x6f\x6e\x66\151\147"]; goto ysPVY; ZeGB1: $code = $_GPC["\x63\x6f\x64\x65"]; goto rKwTx; ZaJR2: return $this->result(1, $memberInfo["\x6d\145\163\x73\141\x67\x65"]); goto Kyot9; jkdos: ZuPsk: goto cqMHj; yDCaj: if (!is_error($orderResult)) { goto ZuPsk; } goto Zsz6G; EzA8M: if (!is_error($payResult)) { goto UiaYw; } goto tHcse; tHcse: return $this->result(1, $payResult["\155\145\x73\163\141\147\145"]); goto JXIHn; yyLH0: $params["\164\151\144"] = $code; goto skktW; cqMHj: return $this->result(0, "\344\xbd\231\351\xa2\235\xe6\x94\xaf\xe4\273\230\346\x88\x90\xe5\x8a\x9f"); goto J20cA; JXIHn: UiaYw: goto k7aEI; GPtV8: $params["\162\x65\x73\x75\154\x74"] = "\163\x75\143\143\x65\163\163"; goto Otq7w; J20cA: } public function doPageCardInfo() { goto kxZ0s; cU5zm: return $this->result(0, "\xe5\212\240\350\275\xbd\xe4\274\x9a\345\221\230\345\215\241\xe6\x88\x90\345\x8a\237", $cardInfo); goto TjRoy; EFM5J: $cardInfo = $CardService->hasCard($memberInfo["\x75\137\x69\144"]); goto XHJ7S; Y7LQj: ukCPZ: goto LsdVb; xxYGR: if (!(time() - $cardInfo["\143\x61\162\x64\x5f\x72\145\146\162\x65\163\x68\137\164\151\155\x65"] > $refreshTime)) { goto qVFFC; } goto At1y8; fasgz: $FormatService = new FormatService(); goto q5RxY; EJRxa: KbjxU: goto aBYln; Zni12: if (!is_error($memberInfo)) { goto ukCPZ; } goto KQou9; ebJpp: $memberInfo = $MemberService->getMemberInfo($_W["\157\x70\145\156\x69\144"]); goto Zni12; GAqBx: $refreshTime = empty($configTime) ? 3600 : $configTime * 60; goto xxYGR; aBYln: if (!($globalConfig["\x63\x61\162\x64\137\164\171\x70\x65"] == 1 && $cardInfo["\x63\x61\x72\144\x5f\x74\x69\x6d\145\163"] == 0)) { goto D7gFi; } goto PSeAD; N3rzV: $MemberService = new MemberService(); goto ebJpp; PSeAD: $cardInfo["\145\170\160\x69\162\145\x41\154\145\x72\164"] = 1; goto Tz3zf; q5RxY: $globalConfig = $this->module["\143\157\x6e\146\x69\x67"]; goto ocw2z; FvuV8: $cardInfo["\143\x61\162\144\x5f\x74\x79\x70\145\137\x6e\141\x6d\x65"] = $cardInfo["\147\x6c\x6f\x62\x61\154\x43\157\x6e\146\x69\147"]["\143\x61\162\144\x5f\x69\144\x65\156\x74\151\164\x79\137\164\x79\160\145\137\156\141\155\145\137\x61\x72\x72\x61\171"][$cardInfo["\x63\x61\162\x64\137\x74\x79\x70\x65"]]; goto U9tVJ; sFAmJ: return $this->result(1, $cardInfo["\155\x65\x73\x73\141\147\x65"]); goto of6ob; At1y8: $cardInfo["\x63\x61\162\x64\137\x63\157\x64\145"] = $CardService->refreshCode($cardInfo["\143\x61\162\144\x5f\x69\144"], $memberInfo["\x75\x5f\x69\144"]); goto RVR8K; RVR8K: qVFFC: goto fasgz; ocw2z: $cardInfo["\x67\x6c\157\142\141\154\103\x6f\156\x66\151\147"] = $FormatService->formatGlobalConfig($globalConfig); goto FvuV8; KQou9: return $this->result(1, $memberInfo["\x6d\145\163\x73\x61\x67\145"]); goto Y7LQj; of6ob: JzbmT: goto v62X_; XHJ7S: if (!is_error($cardInfo)) { goto JzbmT; } goto sFAmJ; G6Qye: $cardInfo["\x65\170\x70\151\x72\145\x41\154\145\162\x74"] = 1; goto EJRxa; Tz3zf: D7gFi: goto cU5zm; U9tVJ: if (!($globalConfig["\x63\141\x72\144\x5f\x74\x79\160\145"] == 0 && strtotime($cardInfo["\143\141\162\x64\137\145\x78\x70\151\162\145\137\x74\x69\x6d\145"]) < time())) { goto KbjxU; } goto G6Qye; LsdVb: $CardService = new CardService(); goto EFM5J; v62X_: $configTime = $this->module["\143\x6f\x6e\x66\x69\x67"]["\143\141\x72\144\137\x72\145\x66\x72\145\x73\x68\137\164\151\x6d\x65"]; goto GAqBx; kxZ0s: global $_W, $_GPC; goto N3rzV; TjRoy: } public function doPageCardApply() { goto ugaVi; a_9sO: Fdc4G: goto tI1wj; UkbtM: $MemberService = new MemberService(); goto Qr20m; UTrjJ: vv8vQ: goto R548C; z0rO1: if (is_error($cardInfo)) { goto Fdc4G; } goto aCSiM; Nrhgf: return $this->result(0, "\346\x96\xb0\345\xa2\x9e\344\xbc\232\xe5\221\x98\xe5\x8d\241\346\210\220\345\x8a\x9f"); goto DW3NX; aCSiM: return $this->result(1, "\xe4\xbc\x9a\345\x91\230\345\215\xa1\345\xb7\262\345\xad\230\xe5\234\250"); goto a_9sO; EnfXZ: return $this->result(1, $addResult["\155\x65\163\x73\141\147\145"]); goto Cjn5V; snYGP: return $this->result(1, $memberInfo["\155\145\x73\163\141\x67\x65"]); goto UTrjJ; bVayW: $addResult = $CardService->addCard($memberInfo["\165\137\151\x64"], $_GPC, $globalConfig); goto EOZr_; Cjn5V: FppzV: goto Nrhgf; EOZr_: if (!is_error($addResult)) { goto FppzV; } goto EnfXZ; ugaVi: global $_W, $_GPC; goto UkbtM; JGnj_: $cardInfo = $CardService->hasCard($memberInfo["\x75\x5f\x69\x64"]); goto z0rO1; RPd1R: if (!is_error($memberInfo)) { goto vv8vQ; } goto snYGP; tI1wj: $globalConfig = $this->module["\x63\157\156\x66\x69\x67"]; goto bVayW; Qr20m: $memberInfo = $MemberService->getMemberInfo($_W["\157\x70\x65\156\151\144"]); goto RPd1R; R548C: $CardService = new CardService(); goto JGnj_; DW3NX: } public function doPageCardRecharge() { goto a0qbI; NPmwJ: $result = $PayLogService->addRechargeLog($fee, $_W["\x6f\x70\x65\156\x69\144"], $cardId); goto Dik6i; yOIZK: $MemberService = new MemberService(); goto WW6FP; adJhE: YL50c: goto O55Rd; aPcOA: FQOA_: goto XOhwy; O55Rd: return $this->result(0, "\345\205\205\xe5\x80\274\xe6\217\220\xe4\272\244\346\x88\220\xe5\212\x9f", $result); goto bHsmM; PQhR5: if (!is_error($memberInfo)) { goto FQOA_; } goto bipSQ; sQNN8: $fee = $_GPC["\146\145\145"]; goto H74JG; H74JG: $PayLogService = new PayLogService(); goto NPmwJ; Dik6i: if (!is_error($result)) { goto YL50c; } goto caWT1; a0qbI: global $_W, $_GPC; goto yOIZK; bipSQ: return $this->result(1, $memberInfo["\155\145\163\163\141\147\145"]); goto aPcOA; XOhwy: $cardId = $_GPC["\x63\x61\162\x64\111\144"]; goto sQNN8; WW6FP: $memberInfo = $MemberService->getMemberInfo($_W["\x6f\160\x65\x6e\151\144"]); goto PQhR5; caWT1: return $this->result(1, $result["\x6d\145\x73\163\x61\147\x65"]); goto adJhE; bHsmM: } public function doPageCardAudit() { goto XlJPn; MqQT0: $cardId = $_GPC["\143\x61\162\x64\x49\144"]; goto JYlVa; bDOe2: return $this->result(1, $memberInfo["\155\145\163\163\141\x67\x65"]); goto qVqTj; eaW6m: $PayLogService = new PayLogService(); goto TMFNW; TMFNW: $result = $PayLogService->addAuditLog($fee, $_W["\157\x70\145\156\151\x64"], $cardId); goto nD7DJ; fYiKR: return $this->result(1, $result["\x6d\145\x73\163\x61\147\x65"]); goto O668X; HrFxZ: $memberInfo = $MemberService->getMemberInfo($_W["\157\x70\x65\x6e\151\x64"]); goto c6i7B; XlJPn: global $_W, $_GPC; goto aSxxy; aSxxy: $MemberService = new MemberService(); goto HrFxZ; c6i7B: if (!is_error($memberInfo)) { goto ArnzO; } goto bDOe2; qVqTj: ArnzO: goto MqQT0; O668X: hWOPV: goto ppqWH; nD7DJ: if (!is_error($result)) { goto hWOPV; } goto fYiKR; ppqWH: return $this->result(0, "\350\xae\244\350\257\x81\346\217\x90\344\272\xa4\346\210\220\xe5\212\237", $result); goto ZdIk3; JYlVa: $fee = $_GPC["\x66\145\145"]; goto eaW6m; ZdIk3: } public function doPageCardAuditFinish() { goto qd0Oh; m3z4R: $auditResult = $CardService->auditCardHandler($cardId); goto y7VIC; DcA0m: $cardId = $_GPC["\x63\x61\162\144\x49\x64"]; goto iOWcP; cKn2I: if (!is_error($memberInfo)) { goto TfiCX; } goto vTUN7; sP1Zw: TfiCX: goto DcA0m; Fh27z: return $this->result(1, $auditResult["\x6d\x65\x73\163\141\147\x65"]); goto QdWAD; qd0Oh: global $_W, $_GPC; goto HdTkR; iOWcP: $CardService = new CardService(); goto m3z4R; q0d0y: return $this->result(0, "\350\272\253\344\273\275\xe8\xae\244\350\xaf\x81\345\256\214\346\210\x90"); goto AYIXE; QdWAD: oTdJS: goto q0d0y; JiKCu: $memberInfo = $MemberService->getMemberInfo($_W["\157\x70\x65\156\151\x64"]); goto cKn2I; vTUN7: return $this->result(1, $memberInfo["\x6d\x65\163\163\x61\147\x65"]); goto sP1Zw; y7VIC: if (!is_error($auditResult)) { goto oTdJS; } goto Fh27z; HdTkR: $MemberService = new MemberService(); goto JiKCu; AYIXE: } public function doPageCardWithdraw() { goto BWV2f; E2tPR: AfJgq: goto Ctphz; Ctphz: return $this->result(0, "\344\274\x9a\345\x91\x98\345\x8d\241\346\217\220\xe7\216\xb0\xe5\x88\260\xe4\xbc\x9a\xe5\x91\230\344\xbd\231\xe9\242\x9d\xe6\210\220\xe5\x8a\x9f"); goto aSV8I; Llc5w: if (!is_error($withdrawResult)) { goto AfJgq; } goto hGbX2; gYkDI: $withdrawResult = $CardService->withdraw($cardId); goto Llc5w; Cg6Nv: $cardId = $_GPC["\143\141\162\144\111\144"]; goto uWzKJ; BWV2f: global $_W, $_GPC; goto Cg6Nv; uWzKJ: $CardService = new CardService(); goto gYkDI; hGbX2: return $this->result(1, $withdrawResult["\155\145\x73\163\x61\147\145"]); goto E2tPR; aSV8I: } public function doPageMapMarker() { goto eN01K; PMPov: return $this->result(1, $markers["\155\x65\163\163\141\147\x65"]); goto p3Qmj; gd4LP: return $this->result(0, "\xe5\212\xa0\xe8\xbd\275\xe5\234\xb0\xe5\233\276\346\240\207\xe7\x82\271\xe5\xae\214\346\210\220", $markers); goto GQurT; eN01K: $MapMarkerService = new MapMarkerService(); goto JmaPm; p3Qmj: jKDL9: goto gd4LP; UGmLx: if (!is_error($markers)) { goto jKDL9; } goto PMPov; JmaPm: $markers = $MapMarkerService->getOnLineMarkerByAreaCategory($_GET["\x61\x72\x65\x61\111\144"], $_GET["\x63\x61\164\x65\147\157\x72\x79\x49\x64"]); goto UGmLx; GQurT: } public function doPageMapNearbyMarker() { goto oGFeF; JUlek: $markers = $MapMarkerService->getNearbyMarker($_GET["\141\162\145\x61\x49\x64"], $_GET["\x63\141\164\x65\x67\157\162\171\111\144"], $_GET["\x6c\x61\x74\151\164\x75\x64\145"], $_GET["\x6c\x6f\x6e\147\x69\164\165\144\145"], $globalConfig["\x6d\141\x70\x5f\x6b\145\x79"], $lowMarkerTotal); goto RofiA; ZsEfB: QJET3: goto ipfh9; RofiA: if (!is_error($markers)) { goto QJET3; } goto rsEW3; rsEW3: return $this->result(1, $markers["\x6d\145\163\x73\x61\x67\145"]); goto ZsEfB; oGFeF: $globalConfig = $this->module["\x63\157\x6e\x66\151\147"]; goto AhVGt; ipfh9: return $this->result(0, "\xe5\212\240\xe8\275\xbd\345\234\260\xe5\x9b\xbe\346\xa0\207\347\x82\271\xe5\xae\214\xe6\x88\220", $markers); goto jbIj4; MsXWk: $MapMarkerService = new MapMarkerService(); goto JUlek; AhVGt: $lowMarkerTotal = $globalConfig["\x6d\141\160\x5f\x6e\145\141\x72\x62\171\137\x6d\141\x78"] > 0 ? $globalConfig["\155\x61\x70\x5f\x6e\x65\141\x72\142\171\137\155\141\170"] : 10; goto MsXWk; jbIj4: } public function doPageMapSearchMarker() { goto wtA2w; yp_kW: $markers = $MapMarkerService->getSearchMarker($_GET["\141\162\145\141\x49\144"], $_GET["\143\141\164\x65\x67\x6f\162\x79\111\144"], $_GET["\x6b\x65\171"]); goto FYNLV; i4BT5: souHm: goto odvDq; FYNLV: if (!is_error($markers)) { goto souHm; } goto ahq_q; odvDq: return $this->result(0, "\xe5\x8a\240\xe8\xbd\xbd\345\234\xb0\345\233\xbe\xe6\240\x87\xe7\x82\271\345\xae\x8c\xe6\x88\220", $markers); goto JNmnB; wtA2w: $MapMarkerService = new MapMarkerService(); goto yp_kW; ahq_q: return $this->result(1, $markers["\x6d\145\163\x73\141\x67\x65"]); goto i4BT5; JNmnB: } public function doPageMapAreaCategory() { goto xMv3Q; dxSSN: Pt2mH: goto widGX; jSjBK: $MapCategoryService = new MapCategoryService(); goto jQfUi; widGX: $data = array("\x61\x72\x65\141" => $areaList, "\x63\x61\x74\145\147\x6f\x72\x79" => $categoryList); goto w7PiD; ohN50: if (!is_error($areaList)) { goto t_2pu; } goto wQEqN; o4CcN: $areaList = $MapAreaService->getOnLineArea(); goto ohN50; n1p6i: return $this->result(1, $categoryList["\x6d\145\x73\x73\141\147\x65"]); goto dxSSN; w7PiD: return $this->result(0, "\xe5\212\xa0\xe8\xbd\275\xe5\234\260\345\233\xbe\345\x88\x86\xe7\261\273\345\x8c\272\345\x9f\237\xe5\256\x8c\346\210\x90", $data); goto yuxSW; xMv3Q: $MapAreaService = new MapAreaService(); goto o4CcN; nFNh3: if (!is_error($categoryList)) { goto Pt2mH; } goto n1p6i; wQEqN: return $this->result(1, $areaList["\x6d\x65\163\163\141\147\x65"]); goto IIMCi; IIMCi: t_2pu: goto jSjBK; jQfUi: $categoryList = $MapCategoryService->getOnLineCategory(); goto nFNh3; yuxSW: } public function doPageMapDistance() { goto l179y; mr2DP: $QQLbs = new QQLbs(); goto Tj1xP; pn5Rx: return $this->result(0, "\344\xbd\215\347\275\xae\350\256\xa1\xe7\256\227\345\xae\x8c\xe6\x88\220", $distance); goto XerA1; ZXZ__: autoload()->classes("\x51\121\114\x62\x73"); goto mr2DP; aguQT: return $this->result(1, $distance["\x6d\145\x73\x73\x61\147\145"]); goto hiaNi; Tj1xP: $distance = $QQLbs->getSingleDistance($_GPC["\154\x61\x74\151\x74\165\144\145"], $_GPC["\154\157\x6e\x67\x69\164\165\144\x65"], $_GPC["\x74\141\x72\147\145\164\x4c\141\x74\151\164\x75\x64\145"], $_GPC["\164\x61\x72\x67\x65\x74\x4c\157\156\x67\151\164\165\144\x65"], $key); goto cMETE; hiaNi: ZT8RG: goto pn5Rx; cMETE: if (!is_error($distance)) { goto ZT8RG; } goto aguQT; GNd6s: $key = $this->module["\143\x6f\x6e\x66\151\x67"]["\155\x61\160\137\x6b\x65\171"]; goto ZXZ__; l179y: global $_GPC; goto GNd6s; XerA1: } public function doPageMyCoupon() { goto Y_pb8; uO7wp: return $this->result(1, $memberId["\x6d\x65\x73\x73\141\x67\145"]); goto KbD8G; eoj30: $coupons = $CouponService->myCouponByMemberIdTypePage($memberId, $type, $page); goto d7zcw; ZmFTj: qM0Vl: goto s3Y0p; nRaSK: return $this->result(1, $coupons["\155\145\163\x73\x61\x67\145"]); goto ZmFTj; CPYls: $CouponService = new CouponService(); goto eoj30; Ig9LJ: if (!is_error($memberId)) { goto Qb26z; } goto uO7wp; xpWSf: $memberId = $MemberService->getMemberIdByOpenid($_W["\x6f\160\145\x6e\x69\x64"]); goto Ig9LJ; umJrB: $MemberService = new MemberService(); goto xpWSf; g83sV: $type = $_GPC["\164\171\160\145"]; goto TxV0C; TxV0C: $page = $_GPC["\x70\x61\x67\145"]; goto umJrB; s3Y0p: return $this->result(0, "\xe5\x8a\xa0\xe8\275\xbd\xe4\xbc\x98\346\x83\xa0\345\210\xb8\xe6\210\x90\345\212\237", $coupons); goto nN50V; d7zcw: if (!is_error($coupons)) { goto qM0Vl; } goto nRaSK; Y_pb8: global $_W, $_GPC; goto g83sV; KbD8G: Qb26z: goto CPYls; nN50V: } public function doPageCouponList() { goto oibDC; BG78U: if (!is_error($coupons)) { goto NvREx; } goto QLXec; CY6TN: if (!is_error($memberId)) { goto knOkz; } goto FZ8eA; s4esd: knOkz: goto fTYD8; NG9zp: $MemberService = new MemberService(); goto rEBPD; KtE2a: NvREx: goto JAPhc; FZ8eA: return $this->result(1, $memberId["\155\x65\x73\x73\141\147\145"]); goto s4esd; pQeQu: $coupons = $CouponService->allowCouponByMemberIdPage($memberId, $_W["\x75\156\151\x61\x63\x69\144"], $page); goto BG78U; Xq37T: $page = $_GPC["\160\141\147\x65"]; goto NG9zp; rEBPD: $memberId = $MemberService->getMemberIdByOpenid($_W["\157\160\145\156\151\144"]); goto CY6TN; fTYD8: $CouponService = new CouponService(); goto pQeQu; oibDC: global $_W, $_GPC; goto Xq37T; QLXec: return $this->result(1, $coupons["\155\x65\163\163\x61\x67\145"]); goto KtE2a; JAPhc: return $this->result(0, "\345\x8a\xa0\350\275\275\xe4\274\230\xe6\x83\240\345\210\270\346\210\220\xe5\212\x9f", $coupons); goto A1LUe; A1LUe: } public function doPageCouponSelect() { goto jwDbN; Y_E0I: $page = $_GPC["\160\141\x67\x65"]; goto nEBjq; QSNm8: PpFC1: goto b6oHM; jwDbN: global $_W, $_GPC; goto iYibg; iYibg: $fee = $_GPC["\146\x65\145"]; goto Y_E0I; S6TLp: return $this->result(1, $memberId["\x6d\145\x73\x73\x61\x67\x65"]); goto xUyd1; LRHl2: $memberId = $MemberService->getMemberIdByOpenid($_W["\x6f\160\x65\x6e\x69\144"]); goto vaN3n; vaN3n: if (!is_error($memberId)) { goto aUMMf; } goto S6TLp; eJdGL: $CouponService = new CouponService(); goto JNqme; nEBjq: $MemberService = new MemberService(); goto LRHl2; xUyd1: aUMMf: goto eJdGL; bv5ik: return $this->result(1, $coupons["\155\x65\163\163\x61\147\145"]); goto QSNm8; QdnJ3: if (!is_error($coupons)) { goto PpFC1; } goto bv5ik; b6oHM: return $this->result(0, "\345\212\xa0\350\xbd\275\xe4\274\x98\xe6\203\240\xe5\x88\xb8\346\x88\x90\xe5\x8a\x9f", $coupons); goto O5bBd; JNqme: $coupons = $CouponService->myCouponByMemberIdTypePage($memberId, 1, $page, true, $fee); goto QdnJ3; O5bBd: } public function doPageCouponReceive() { goto pqCYC; vVwLG: $couponId = $_GPC["\143\x6f\165\x70\x6f\156\x49\x64"]; goto wPU9t; E02t9: if (!is_error($receiveResult)) { goto OkU_A; } goto zBo4A; ve0PJ: WZcAA: goto rC7eu; bubAr: return $this->result(1, $memberId["\155\145\x73\163\141\147\x65"]); goto ve0PJ; pqCYC: global $_W, $_GPC; goto vVwLG; WUDAL: return $this->result(0, "\351\xa2\x86\xe5\x8f\x96\344\xbc\230\xe6\203\xa0\xe5\x88\270\xe6\210\x90\xe5\x8a\237"); goto zohVk; n91nn: $memberId = $MemberService->getMemberIdByOpenid($_W["\157\x70\x65\x6e\151\x64"]); goto NVxfj; NVxfj: if (!is_error($memberId)) { goto WZcAA; } goto bubAr; wPU9t: $MemberService = new MemberService(); goto n91nn; nUI0p: $receiveResult = $CouponService->sendCouponToMember($memberId, $couponId); goto E02t9; rC7eu: $CouponService = new CouponService(); goto nUI0p; FbQoJ: OkU_A: goto WUDAL; zBo4A: return $this->result(1, $receiveResult["\x6d\x65\163\x73\141\x67\145"]); goto FbQoJ; zohVk: } public function doPageMemberCouponInfo() { goto vo8IE; bbRw7: $couponInfo = $CouponService->getMemberCouponInfo($couponId); goto E616u; E616u: if (!is_error($couponInfo)) { goto GswIT; } goto CG800; m5gOC: GswIT: goto kttA8; CG800: return $this->result(1, $couponInfo["\155\x65\163\163\141\147\x65"]); goto m5gOC; z2Q3E: $couponId = $_GPC["\x63\x6f\165\160\157\156\111\144"]; goto fwJsT; vo8IE: global $_W, $_GPC; goto z2Q3E; fwJsT: $CouponService = new CouponService(); goto bbRw7; kttA8: return $this->result(0, "\345\212\240\xe8\275\275\344\274\x98\346\203\xa0\xe5\210\270\346\x88\x90\345\x8a\237", $couponInfo); goto FnaAk; FnaAk: } public function doPageCouponUsableList() { goto UpBKb; juAvf: EE5hR: goto w0mqa; oggFH: nen82: goto JKx9v; TEPRV: if (is_error($couponList)) { goto nen82; } goto IDRq9; iPPnE: $MemberService = new MemberService(); goto P1re6; cF_T3: $data["\147\162\141\144\x65"] = array(); goto w8UDM; o2XEI: return $this->result(1, $memberInfo["\x6d\145\x73\x73\141\147\145"]); goto jFQWF; w8UDM: if (!empty($_GPC["\x70\162\157\x64\165\143\164\x4c\151\163\x74"])) { goto w09zH; } goto Ns997; ZvSMx: $MemberGradeService = new MemberGradeService(); goto NuTxh; Uqs9n: $productList = json_decode(htmlspecialchars_decode($_GPC["\160\162\x6f\x64\165\143\164\x4c\151\x73\x74"]), true); goto n8kP3; Ns997: return $this->result(1, "\346\x95\xb0\346\215\256\xe9\x94\x99\350\257\257"); goto Jvv_n; qF8tl: $data["\x67\162\x61\144\145"] = $gradeInfo; goto juAvf; uwcqV: if (!$gradeInfo) { goto EE5hR; } goto qF8tl; JKx9v: if (!($memberInfo["\165\x5f\147\162\x61\x64\x65"] > 0)) { goto iobwV; } goto ZvSMx; xrEg3: return $this->result(0, "\xe5\x8a\xa0\xe8\275\275\344\xbc\x98\346\203\240\xe6\225\xb0\xe6\x8d\256\346\x88\220\xe5\x8a\237", $data); goto moM3P; IDRq9: $data["\x61\x6c\x6c"] = $couponList["\x61\x6c\154"]; goto FdkBG; jFQWF: pcBNv: goto WlX49; b3AWy: $data["\160\x72\157\144\165\x63\164"] = array(); goto cF_T3; Jvv_n: w09zH: goto iPPnE; P1re6: $memberInfo = $MemberService->getMemberInfo($_W["\157\x70\x65\x6e\x69\x64"]); goto hYJKg; tYrUd: $couponList = $CouponService->getUsableCouponByProductArray($memberId, $productList); goto TEPRV; WlX49: $memberId = $memberInfo["\165\137\x69\x64"]; goto Uqs9n; NuTxh: $gradeInfo = $MemberGradeService->getGradeInfo($memberInfo["\165\x5f\147\162\141\x64\x65"]); goto uwcqV; gGW83: $data["\141\x6c\154"] = array(); goto b3AWy; hYJKg: if (!is_error($memberInfo)) { goto pcBNv; } goto o2XEI; w0mqa: iobwV: goto xrEg3; haVbG: $data = array(); goto gGW83; FdkBG: $data["\x70\x72\157\144\165\143\164"] = $couponList["\160\162\157\144\x75\143\x74"]; goto oggFH; n8kP3: $CouponService = new CouponService(); goto tYrUd; UpBKb: global $_W, $_GPC; goto haVbG; moM3P: } public function doPageZhuanPanReward() { goto VGeJS; aWTJW: $globalConfig = $this->module["\x63\157\156\x66\151\147"]; goto CmNAQ; V41Yf: return $this->result(1, $rewardList["\x6d\145\163\x73\x61\x67\x65"]); goto VgBlf; Nx_ja: $data["\147\x6c\x6f\142\x61\154\x43\157\x6e\146\151\x67"] = array("\x65\x6e\141\142\x6c\x65" => $globalConfig["\x65\x6e\x61\x62\x6c\x65\x5f\172\150\x75\141\x6e\x70\141\156"], "\x63\x72\145\144\x69\x74" => $globalConfig["\172\x68\165\x61\x6e\x70\141\x6e\137\x63\x72\x65\144\x69\x74"], "\162\x65\155\x61\162\x6b" => $globalConfig["\x7a\150\165\x61\x6e\x70\141\156\137\162\145\x6d\x61\x72\153"], "\162\165\154\x65" => htmlspecialchars_decode($globalConfig["\172\150\165\x61\156\x70\141\156\137\162\x75\154\145"])); goto IITVW; ngDD3: $memberInfo = $MemberService->getMemberInfo($_W["\x6f\x70\145\x6e\x69\144"]); goto D5Buv; ECgTy: $data["\x61\167\x61\162\x64\163"] = $rewardList; goto lvVqy; AASzP: $data["\151\144"] = 0; goto aWTJW; lvVqy: return $this->result(0, "\xe5\212\240\350\xbd\xbd\xe5\245\x96\xe5\223\201\xe6\x88\x90\xe5\x8a\x9f", $data); goto hODZh; P1TzY: $data["\164\151\x6d\145\x73"] = $times; goto mzIDj; BGgEC: $rewardList = $RewardService->getOnlineList(); goto qiDyu; oYhR9: J3_00: goto yb4Nf; bDqjx: $data = array(); goto AASzP; D5Buv: if (!is_error($memberInfo)) { goto J3_00; } goto PkeMt; CmNAQ: $data["\x6f\x70\164\x69\x6f\x6e"] = $globalConfig["\172\x68\x75\141\156\160\x61\x6e\137\x6e\x61\155\x65"]; goto Nx_ja; IITVW: $times = floor($memberInfo["\165\137\x63\x72\145\x64\151\164"] / $globalConfig["\x7a\x68\x75\x61\156\160\x61\x6e\x5f\143\x72\145\144\x69\x74"]); goto P1TzY; VGeJS: global $_W; goto Pk_sM; VgBlf: cVmPE: goto bDqjx; PkeMt: return $this->result(1, $memberInfo["\155\145\163\x73\141\147\x65"]); goto oYhR9; yb4Nf: $RewardService = new ZhuanPanRewardService(); goto BGgEC; mzIDj: $data["\165\163\x65\x61\142\x6c\145"] = $times >= 1 ? true : false; goto ECgTy; Pk_sM: $MemberService = new MemberService(); goto ngDD3; qiDyu: if (!is_error($rewardList)) { goto cVmPE; } goto V41Yf; hODZh: } public function doPageZhuanPanAddReward() { goto c92OV; gL4zA: $LuckyService = new ZhuanPanLuckyService(); goto cTHPU; FSDSe: xGUm2: goto fmg_g; cTHPU: $luckyResult = $LuckyService->handleLucky($memberInfo["\165\137\151\144"], $rewardId, $credit); goto EZJMm; EZJMm: if (!is_error($luckyResult)) { goto xGUm2; } goto Lf_P1; et52R: $rewardId = $_GPC["\162\145\167\x61\x72\x64\x49\144"]; goto tMD3P; gAtxN: if (!is_error($memberInfo)) { goto InwtE; } goto UtQim; UtQim: return $this->result(1, $memberInfo["\x6d\x65\163\163\x61\147\x65"]); goto UhEGv; fmg_g: return $this->result(0, "\344\xb8\xad\xe5\xa5\226\xe5\xa4\204\xe7\220\206\345\256\214\346\210\220"); goto CVHLv; tMD3P: $credit = $this->module["\x63\157\x6e\x66\x69\x67"]["\x7a\150\165\x61\156\x70\141\x6e\x5f\x63\162\x65\x64\151\x74"]; goto gL4zA; UhEGv: InwtE: goto et52R; c92OV: global $_W, $_GPC; goto k6qt7; Lf_P1: return $this->result(1, $luckyResult["\155\x65\163\163\141\x67\x65"]); goto FSDSe; k6qt7: $MemberService = new MemberService(); goto GA2gc; GA2gc: $memberInfo = $MemberService->getMemberInfo($_W["\157\x70\x65\156\x69\144"]); goto gAtxN; CVHLv: } public function doPageZhuanPanLuckyList() { goto n1_V8; fU3gC: return $this->result(1, $data["\x6d\145\163\x73\141\x67\x65"]); goto eVC4U; fOL3_: $pageIndex = $_GPC["\160\x61\147\145"]; goto UtKR_; QQPNL: if (!is_error($data)) { goto ws_oO; } goto fU3gC; n1_V8: global $_W, $_GPC; goto fOL3_; qUQoJ: return $this->result(0, "\345\x8a\xa0\350\275\xbd\344\270\255\xe5\245\x96\xe5\210\x97\350\xa1\xa8\346\210\220\345\x8a\x9f", $data["\x6c\x69\x73\x74"]); goto TkMl6; S1kij: $data = $LuckyService->getLuckyByPage(array(), $pageIndex); goto QQPNL; eVC4U: ws_oO: goto qUQoJ; UtKR_: $LuckyService = new ZhuanPanLuckyService(); goto S1kij; TkMl6: } public function doPageZhuanPanMyLucky() { goto PQc2F; YQmbI: $LuckyService = new ZhuanPanLuckyService(); goto XyYJg; PQc2F: global $_W, $_GPC; goto UiKD6; tDHyD: return $this->result(1, $data["\x6d\x65\163\x73\141\147\145"]); goto GqTxX; q_ATB: return $this->result(1, $memberInfo["\155\145\163\163\x61\147\145"]); goto F3kz0; UiKD6: $pageIndex = $_GPC["\160\141\147\x65"]; goto a1jp0; Jsran: if (!is_error($data)) { goto h0cSL; } goto tDHyD; a1jp0: $MemberService = new MemberService(); goto FlMI3; SAxc4: if (!is_error($memberInfo)) { goto Nt3EE; } goto q_ATB; mVs7K: return $this->result(0, "\345\212\240\xe8\xbd\xbd\xe6\x88\x91\xe7\232\x84\xe4\270\xad\345\xa5\226\345\x88\x97\xe8\241\250\xe6\x88\x90\xe5\x8a\x9f", $data["\x6c\x69\163\164"]); goto wdnVY; GqTxX: h0cSL: goto mVs7K; F3kz0: Nt3EE: goto YQmbI; FlMI3: $memberInfo = $MemberService->getMemberInfo($_W["\157\x70\145\156\x69\x64"]); goto SAxc4; XyYJg: $data = $LuckyService->getMyLucky($memberInfo["\x75\137\x69\x64"], $pageIndex); goto Jsran; wdnVY: } public function doPageLiveRoom() { goto YdEWa; vJpwi: UDSYW: goto YUEuY; YdEWa: global $_W; goto vacVf; tmp_c: return $this->result(0, $roomList["\x6d\145\x73\x73\141\147\145"]); goto vJpwi; vacVf: $LiveService = new LiveService(); goto h9NJg; Jw0rz: if (!is_error($roomList)) { goto UDSYW; } goto tmp_c; YUEuY: return $this->result(0, "\xe5\212\240\xe8\xbd\xbd\xe7\x9b\xb4\xe6\x92\255\xe5\210\x97\xe8\xa1\xa8\xe6\210\x90\xe5\x8a\x9f", $roomList); goto PItTB; h9NJg: $roomList = $LiveService->readRoomList($this->module["\143\157\156\x66\151\147"]["\154\151\166\x65\137\x72\157\x6f\x6d\137\143\141\x63\x68\145\137\x74\151\x6d\145"]); goto Jw0rz; PItTB: } public function doPageSubscribeIds() { goto uq7r8; QhSBq: $SubscribeMessageService = new SubscribeMessageService(); goto KKUg8; H9BfX: if (!is_error($messageList)) { goto o0ESK; } goto bVHYL; ffiyk: o0ESK: goto HDG0B; bVHYL: return $this->result(1, $messageList["\x6d\x65\163\x73\x61\x67\145"]); goto ffiyk; HDG0B: return $this->result(0, "\345\x8a\240\350\xbd\275\350\256\xa2\351\230\205\xe6\266\x88\xe6\x81\xaf\xe5\210\227\350\xa1\xa8\346\210\220\xe5\x8a\x9f", $messageList); goto ZEo8r; KKUg8: $messageList = $SubscribeMessageService->getSubscribeTemplateIds($globalConfig); goto H9BfX; uq7r8: $globalConfig = $this->module["\143\157\x6e\146\151\147"]; goto QhSBq; ZEo8r: } public function doPageUpdateMember() { goto uPRs2; xUiM4: $updateResult = $MemberService->updateMemberByOpenid($_W["\x6f\160\x65\x6e\x69\x64"], $_GPC); goto FYh6m; gLY5q: return $this->result(1, $updateResult["\155\145\163\x73\141\147\x65"]); goto CNgg7; FYh6m: if (!is_error($updateResult)) { goto W7Xu3; } goto gLY5q; CNgg7: W7Xu3: goto I2fI2; I2fI2: return $this->result(0, "\xe6\233\264\346\226\xb0\xe4\xbc\x9a\345\x91\230\344\xbf\241\xe6\201\xaf\346\210\x90\345\x8a\x9f"); goto HIccL; Kkjc6: $MemberService = new MemberService(); goto xUiM4; uPRs2: global $_W, $_GPC; goto Kkjc6; HIccL: } public function doPageActivityList() { goto yaAT0; fcB9D: $list = $ActivityService->getAllAppActivity(); goto ie2h_; DfoH0: return $this->result(0, "\345\212\xa0\350\275\xbd\xe6\264\xbb\345\x8a\250\351\xa2\x84\347\xba\xa6\xe6\210\220\xe5\212\x9f", $list); goto xCdit; yaAT0: $ActivityService = new ActivityService(); goto fcB9D; cx3GN: wutOm: goto DfoH0; ie2h_: if (!is_error($list)) { goto wutOm; } goto SvnE4; SvnE4: return $this->result(1, $list["\x6d\145\163\163\141\147\145"]); goto cx3GN; xCdit: } public function doPageActivityTime() { goto yNfRn; AfsqL: return $this->result(0, "\xe5\212\xa0\xe8\275\275\346\264\xbb\xe5\x8a\xa8\xe6\x97\xb6\xe9\x97\xb4\xe6\210\220\xe5\x8a\x9f", $time); goto LzXUF; nFm6D: $day = $_GPC["\x64\141\x79"]; goto zLtiD; wKVpO: return $this->result(1, $time["\x6d\x65\x73\163\141\147\x65"]); goto PrNhy; HeXyI: if (!is_error($time)) { goto o9bGW; } goto wKVpO; yNfRn: global $_GPC; goto MgwGg; MmqAB: $time = $ActivityService->getAppActivityTime($activityId, $day); goto HeXyI; PrNhy: o9bGW: goto AfsqL; MgwGg: $activityId = $_GPC["\151\x64"]; goto nFm6D; zLtiD: $ActivityService = new ActivityService(); goto MmqAB; LzXUF: } public function doPageActivityOrder() { goto AKgZN; AKgZN: global $_W, $_GPC; goto ZEYg3; fYTtG: gFTy_: goto YZFMM; wPr6l: if (!is_error($memberInfo)) { goto gFTy_; } goto OOp02; gwvnt: $MemberService = new MemberService(); goto TJTHB; TJTHB: $memberInfo = $MemberService->getMemberInfo($_W["\157\x70\x65\x6e\x69\x64"]); goto wPr6l; P2y8i: if (!is_error($orderResult)) { goto fssF6; } goto fWlRV; GvU3z: fssF6: goto AqMyf; YZFMM: $ActivityService = new ActivityService(); goto SIVVv; OOp02: return $this->result(1, $memberInfo["\155\145\x73\163\x61\147\145"]); goto fYTtG; SIVVv: $orderResult = $ActivityService->addActivityOrder($_GPC["\x69\x64"], $_GPC["\x64\141\171"], $_GPC["\164\151\x6d\x65"], $touristList, $_GPC["\155\x6f\x62\151\154\x65"], $memberInfo["\x75\137\x69\144"]); goto P2y8i; ZEYg3: $touristList = json_decode(htmlspecialchars_decode($_GPC["\164\x6f\x75\162\151\163\x74\x4c\151\x73\x74"]), true); goto gwvnt; fWlRV: return $this->result(1, $orderResult["\x6d\x65\163\x73\x61\147\145"]); goto GvU3z; AqMyf: return $this->result(0, "\xe9\xa2\204\347\272\246\346\210\220\345\x8a\x9f", $orderResult); goto MOYw1; MOYw1: } public function doPageActivityMyOrder() { goto E5msy; H5WP8: GP7Cb: goto BYrBx; E5msy: global $_W, $_GPC; goto KiPpR; AdmxX: if (!is_error($memberInfo)) { goto Ddhz1; } goto lHR9M; KiPpR: $MemberService = new MemberService(); goto QFwQI; RjsNS: Ddhz1: goto l_OgC; c9I8S: $orderList = $ActivityOrderService->getAppMyOrderList($memberInfo["\x75\137\151\x64"], $_GPC["\x70\x61\x67\x65"]); goto tmyNv; QFwQI: $memberInfo = $MemberService->getMemberInfo($_W["\x6f\x70\x65\x6e\x69\144"]); goto AdmxX; lHR9M: return $this->result(1, $memberInfo["\x6d\x65\x73\163\141\147\x65"]); goto RjsNS; BYrBx: return $this->result(0, "\xe5\212\240\350\275\xbd\xe8\256\xa2\xe8\xb4\255\xe5\210\x97\xe8\xa1\xa8\xe6\210\220\345\x8a\x9f", $orderList); goto iBO6R; b179e: return $this->result(1, $orderList["\x6d\x65\x73\163\141\x67\x65"]); goto H5WP8; l_OgC: $ActivityOrderService = new ActivityOrderService(); goto c9I8S; tmyNv: if (!is_error($orderList)) { goto GP7Cb; } goto b179e; iBO6R: } public function doPageActivityOrderDetail() { goto EZkkk; nQkXj: $orderDetail = $ActivityOrderService->getAppOrderDetail($_GPC["\x69\144"]); goto TnXNV; CCgL0: qEgbL: goto Mp_Um; TnXNV: if (!is_error($orderDetail)) { goto qEgbL; } goto n8f_x; n_H9U: $ActivityOrderService = new ActivityOrderService(); goto nQkXj; n8f_x: return $this->result(1, $orderDetail["\x6d\145\x73\x73\x61\x67\145"]); goto CCgL0; EZkkk: global $_GPC; goto n_H9U; Mp_Um: return $this->result(0, "\xe5\x8a\240\xe8\xbd\275\xe8\256\242\345\x8d\x95\xe8\257\xa6\346\x83\205\xe6\x88\x90\345\212\x9f", $orderDetail); goto L5xt3; L5xt3: } public function doPageActivityCancelTourist() { goto rMOqp; b04Xg: return $this->result(0, "\345\217\x96\346\xb6\210\351\242\x84\350\xae\242\xe6\x88\x90\xe5\212\237", $_GPC["\x69\144"]); goto uQaVt; TEjZR: c54bC: goto b04Xg; W3MXK: return $this->result(1, $cancelResult["\x6d\145\x73\163\x61\147\x65"]); goto TEjZR; PldFB: $cancelResult = $ActivityTouristService->cancelTourist($_GPC["\x69\144"]); goto YtMgN; CyxZS: $ActivityTouristService = new ActivityTouristService(); goto PldFB; rMOqp: global $_GPC; goto CyxZS; YtMgN: if (!is_error($cancelResult)) { goto c54bC; } goto W3MXK; uQaVt: } public function doPageShopNewOrder() { goto tB8ya; dw9gD: $list = $OrderService->getShopNewOrderByPage($shopId, $page); goto eZxnW; tB8ya: global $_GPC; goto P1ODh; cskHe: gTE5c: goto ectz6; P1ODh: $shopId = $_GPC["\163\150\157\x70\x49\144"]; goto Gw0VS; eZxnW: if (!is_error($list)) { goto gTE5c; } goto O59Dj; jxKot: $OrderService = new OrderService(); goto dw9gD; Gw0VS: $page = $_GPC["\160\141\147\x65"]; goto jxKot; O59Dj: return $this->result(1, $list["\x6d\145\x73\x73\141\x67\x65"]); goto cskHe; ectz6: return $this->result(0, "\xe5\212\240\350\275\275\345\272\x97\351\x93\272\350\256\242\345\x8d\225\xe6\x88\x90\345\212\x9f", $list); goto MmxYB; MmxYB: } }
Function Calls
None |
Stats
MD5 | e3b0209798e00e3e6e7d3ee5aa412176 |
Eval Count | 0 |
Decode Time | 162 ms |