Commit df0f92f9 authored by zhangjun's avatar zhangjun

Merge branch 'release-fangliyan'

parents 955cb1a0 4d688148
# Created by .ignore support plugin (hsz.mobi)
.idea
\ No newline at end of file
......@@ -1372,6 +1372,11 @@ class Esf_center_api extends MY_Controller {
*/
public function api_adduser_mobile()
{
$result = 1;
$msg = '停用';
$return_array = array('result'=>$result , 'msg'=>$msg);
echo serialize($return_array);die();
$telno = $this->input->get('telno');
$paasword = $this->input->get('paasword');
$city = $this->input->get('city');
......@@ -2914,12 +2919,13 @@ class Esf_center_api extends MY_Controller {
public function notify(){
$data = $_POST;
$msg = "************************************************ \n";
$msg .= date('Y-m-d H:i:s').var_export($_POST,true)." \n";
$log = dirname(__FILE__)."/notify";
file_put_contents($log,$msg,FILE_APPEND );
$log2 = dirname(__FILE__ ) . "/notifylog2.txt";
file_put_contents( $log2, $msg,FILE_APPEND );
$this->user_model->addLog("微信支付回调参数数据2:", json_encode( $data ) );
// $msg = "************************************************ \n";
// $msg .= date('Y-m-d H:i:s').var_export($_POST,true)." \n";
// $log = dirname(__FILE__)."/notify";
// file_put_contents($log,$msg,FILE_APPEND );
// $log2 = dirname(__FILE__ ) . "/notifylog2.txt";
// file_put_contents( $log2, $msg,FILE_APPEND );
$result['status'] = 'FAIL';
if(GB_CITY != 'nj' && GB_CITY != 'wh' ){
$result['msg'] = 'city error';
......@@ -2986,6 +2992,56 @@ class Esf_center_api extends MY_Controller {
}
}
/**
* 0元支付回调
*/
public function zeroNotify() {
$result['status'] = 0;
$data = $_POST;
$transactionId = isset( $data['transaction_id'] ) ? $data['transaction_id'] : '';
// 订单数据
$orderInfo = $this->package_model->getOrderInfoByTransactionId( $transactionId );
if ( empty( $orderInfo ) ) {
$result['msg'] = '订单数据不存在';
echo json_encode($result);exit;
}
//判断订单状态
if($orderInfo['order_status'] != 1){
$result['msg'] = '订单已关闭';
echo json_encode($result);exit;
}
if($orderInfo['pay_status'] != 0){
$result['msg'] = '订单已失效';
echo json_encode($result);exit;
}
$payTransactionId = isset( $data['pay_transaction_id'] ) ? $data['pay_transaction_id'] : '';
if ( empty( $payTransactionId ) ) {
$result['msg'] = '支付凭证不能为空';
echo json_encode($result);exit;
}
//支付成功后的操作
$res = $this->package_model->payFinish( $orderInfo, array( 'transaction_id' => $payTransactionId ) );
if( !$res ) {
$result['msg'] = '生成推广相关数据失败';
echo json_encode($result);exit;
}
// 发送短信
if ( GB_CITY == 'nj' ) {
$this->sendMsg( $orderInfo );
}
$result['status'] = 1;
$result['msg'] = '成功';
echo json_encode($result);exit;
}
// 支付回调修复数据 20200605
public function notify_modify_data(){
$data = $_POST;
......
......@@ -570,19 +570,19 @@ class Esf_center_api_zhang extends MY_Controller {
//登陆成功需要把sso_token以cookie形式种到浏览器中
protected function register_tf_ucenter_cookie($passport_uid){
setcookie('PHPSESSID','',time()-1,'/','house365.com');
$url = "http://api.house365.com/passport/passport_gettoken_byuid.php?passport_uid=".$passport_uid;
if(isset($_COOKIE['utm_source']) && isset($_COOKIE['utm_medium']) && isset($_COOKIE['utm_campaign'])){
$url.= "&utm_source={$_COOKIE['utm_source']}&utm_medium={$_COOKIE['utm_medium']}&utm_campaign={$_COOKIE['utm_campaign']}";
}
if(isset($_COOKIE['crm_scene'])){
$url.= "&register_client=PC&register_application={$_COOKIE['crm_scene']}";
}
$api_res = json_decode($this->get_api($url), true);
if(isset($api_res['result']) && $api_res['result']==1){
setcookie('sso_token',$api_res['data'],time()+3600*24*180,'/','house365.com');
}
// setcookie('PHPSESSID','',time()-1,'/','house365.com');
// $url = "http://api.house365.com/passport/passport_gettoken_byuid.php?passport_uid=".$passport_uid;
// if(isset($_COOKIE['utm_source']) && isset($_COOKIE['utm_medium']) && isset($_COOKIE['utm_campaign'])){
// $url.= "&utm_source={$_COOKIE['utm_source']}&utm_medium={$_COOKIE['utm_medium']}&utm_campaign={$_COOKIE['utm_campaign']}";
// }
// if(isset($_COOKIE['crm_scene'])){
// $url.= "&register_client=PC&register_application={$_COOKIE['crm_scene']}";
// }
// $api_res = json_decode($this->get_api($url), true);
//
// if(isset($api_res['result']) && $api_res['result']==1){
// setcookie('sso_token',$api_res['data'],time()+3600*24*180,'/','house365.com');
// }
}
......
......@@ -17,6 +17,8 @@ class Findpassword extends MY_Controller {
*/
public function index()
{
header('Location:http://passport.house365.com/index/forgetPwd');die();
$_SESSION['token'] = md5($this->user_id);
$data['title'] = '用户找回密码';
......
......@@ -17,7 +17,7 @@ class Login extends MY_Controller
function index()
{
Header("HTTP/1.1 301 Moved Permanently");
Header("Location: http://newrent.house365.com/user/login");
Header("Location: http://passport.house365.com/index/login?others_returnback=http://newrent.house365.com/user-center/index");
exit;
//IM 埋点
if($_GET['from']=='im'){
......
This diff is collapsed.
This diff is collapsed.
......@@ -6,7 +6,9 @@ class User_Wang extends MY_Controller
function __construct()
{
parent::__construct();
if($_GET['test']){
echo 'ddddd';exit;
}
$this->load->model("user_model");
$this->load->model("broker_model");
......@@ -20,7 +22,9 @@ class User_Wang extends MY_Controller
$this->load->library("user_class");
$this->load->library("apply_class");
$this->user_id = checklogin();
if($_GET['test']){
echo 'ffff';exit;
}
if( $this->user_id <= 0 )
{
jumpto( USER_CENTER.'login');
......
......@@ -70,8 +70,8 @@
<div class="user-nav-mod <?php if($conf_where=='edit_profile') echo 'on';?>"> <a href="<?php echo USER_CENTER.'user/edit_profile';?>" class="innerLink">修改资料</a> </div>
<!-- <div class="user-nav-mod --><?php //if($conf_where=='edit_password') echo 'on';?><!--"> <a href="--><?php //echo USER_CENTER.'user/edit_password';?><!--" class="innerLink">修改密码</a> </div>-->
<!-- <div class="user-nav-mod user-nav-mod-last --><?php //if($conf_where=='edit_telno') echo 'on';?><!--"> <a href="--><?php //echo USER_CENTER.'user/edit_telno';?><!--" class="innerLink">修改手机号码</a> </div>-->
<div class="user-nav-mod <?php if($conf_where=='edit_password') echo 'on';?>"> <a href="<?php echo GB_EDIT_PHONE_URL;?>" class="innerLink">修改密码</a> </div>
<div class="user-nav-mod user-nav-mod-last <?php if($conf_where=='edit_telno') echo 'on';?>"> <a href="<?php echo GB_EDIT_PWD_URL;?>" class="innerLink">修改手机号码</a> </div>
<div class="user-nav-mod <?php if($conf_where=='edit_password') echo 'on';?>"> <a href="<?php echo GB_EDIT_PWD_URL;?>" class="innerLink">修改密码</a> </div>
<div class="user-nav-mod user-nav-mod-last <?php if($conf_where=='edit_telno') echo 'on';?>"> <a href="<?php echo GB_EDIT_PHONE_URL;?>" class="innerLink">修改手机号码</a> </div>
</div>
</div>
......
......@@ -82,12 +82,12 @@
<script>
function buyListGuidePop(){
$("#myAskGuidePop").css({
"display":"block",
// "display":"block",
"width":$(window).width() < 960 ? 960 : $(window).width() +"px",
"height":$(document).height()+"px"
});
$("#myAskGuide").css({
"display":"block",
// "display":"block",
"left":$(".mod-list").offset().left - 25 +"px",
"top":$(".mod-list").offset().top - 74 +"px"
});
......
<?php require APPPATH_MVC.'views/header.php'; ?>
<div class="paysuc popw" >
<div class="release-failBack">
</div>
<div class="release-fail yz-pop">
<div class="tit">
<span>支付成功 </span>
<div class="closes"></div>
</div>
<div class="poplist">
<div class="pstit">支付成功</div>
<div class="f16 c3 mt20">前往 <a href="<?php echo USER_CENTER; ?>" class="orange">个人中心>></a></div>
<div class="f14 c3 mt10" >支付金额:<span class="bold red"><?=$orderData['price']?></span>
<a href="<?php echo USER_CENTER.'user/orderInvoice/'.$orderData['id']?>">
<span class="f14 oranget hand">我要开发票</span>
</a>
</div>
</div>
<p>重要提醒:不点陌生链接、不泄露银行卡和验证码信息,谨防诈骗!</p>
</div>
</div>
<!--2017-11-28 end-->
<?php require APPPATH_MVC.'views/footer.php'; ?>
......@@ -413,6 +413,14 @@ define('GB_UCENTER_LOGIN_URL', 'https://ucenter.house365.com/index/login');
define('GB_NEWRENT_INDEX_URL', 'http://newrent.house365.com/sell/index');
// 退出地址
define('GB_LOGOUT_URL', 'http://passport.house365.com/index/logout');
// 验证优惠券
define('GB_CHECK_COUPON_URL', 'http://newrent.house365.com/api/tf-app/check-coupon-personal');
// 使用优惠券
define('GB_USE_COUPON_URL', 'http://newrent.house365.com/api/tf-app/use-coupon');
// 更新状态接口地址
define('GB_UPDATE_COUPON_URL', 'http://newrent.house365.com/api/tf-app/update-coupon-status');
// 添加日志
define('GB_ADD_LOG_URL', 'http://newrent.house365.com/api/tf-app/add-log');
if($_SERVER['SERVER_ADDR'] == '192.168.105.106')
{
......
......@@ -248,11 +248,11 @@ class MY_Model extends CI_Model
{
if (strlen($data['limit']) && is_numeric($data['limit']))
{
($data['limit'] > 0) ? $this->db->limit($data['offset'], $data['limit']) : $this->db->limit($data['offset']);
($data['limit'] > 0) ? $this->db->offset($data['offset'])->limit($data['limit']) : $this->db->offset($data['offset'])->limit(20);
}
else
{
$this->db->limit($data['offset']);
$this->db->offset($data['offset'])->limit(20);
}
}
else
......
......@@ -209,7 +209,18 @@ if ( ! function_exists('get_ip'))
if ( ! function_exists('get_upload_tblname'))
{
function get_upload_tblname($tbl,$id){
if(GB_CITY == 'wh'){
if($tbl == 'sell' && $id < 10310000) return 'upload';
if($tbl == 'rent' && $id < 1577000) return 'upload';
if($tbl == 'sell' && ($id >= 10310000 && $id < 15591000)) return 'upload1';
if($tbl == 'rent' && ($id >= 1577000 && $id < 1809000)) return 'upload1';
return 'upload2';
}
if(GB_CITY !='nj') return 'upload';
if($tbl == 'sell' && $id < 23972101) return 'upload0';
......@@ -348,8 +359,27 @@ if ( ! function_exists('get_upload_tblname'))
if($tbl == 'sell' && ($id >= 166754880 && $id < 264744742)) return 'upload29';
if($tbl == 'rent' && ($id >= 63483875 && $id < 84955643)) return 'upload29';
return 'upload30';
if($tbl == 'sell' && ($id >= 264744742 && $id < 271465540)) return 'upload30';
if($tbl == 'rent' && ($id >= 84955643 && $id < 86646071)) return 'upload30';
if($tbl == 'sell' && ($id >= 271465540 && $id < 282952050)) return 'upload31';
if($tbl == 'rent' && ($id >= 86646071 && $id < 89874731)) return 'upload31';
if($tbl == 'sell' && ($id >= 282952050 && $id < 288033939)) return 'upload32';
if($tbl == 'rent' && ($id >= 89874731 && $id < 91709557)) return 'upload32';
if($tbl == 'sell' && ($id >= 288033939 && $id < 289572177)) return 'upload33';
if($tbl == 'rent' && ($id >= 91709557 && $id < 92295581)) return 'upload33';
if($tbl == 'sell' && ($id >= 289572177 && $id < 332826911)) return 'upload34';
if($tbl == 'rent' && ($id >= 92295581 && $id < 105588509)) return 'upload34';
return 'upload35';
}
}
......
......@@ -40,31 +40,31 @@
function getLoginInfoBySSO(){
if(empty($_COOKIE['sso_token'])){
return false;
}
$ci = & get_instance();
if(empty($_COOKIE['esfuserid']) || empty($_COOKIE['esfpassword'])){
$url = 'http://api.house365.com/passport/check_login_bytoken.php?sso_token='.$_COOKIE['sso_token'];
$info = json_decode(curl_get_contents($url),1);
if(is_array($info)){
if (isset($info['data']['passport_uid']) && $info['data']['passport_uid']) {
$passport_uid = $info['data']['passport_uid'];
$ci->load->model('user_model');
$user = $ci->user_model->get_data(array('form_name' => 'personal_user','where'=>array('passport_uid'=>$passport_uid),'select'=>array('id','telno','password')),'esfbak');
if($user){
$esfuserid = $user[0]['id'];
$esfpassword = $user[0]['password'];
setcookie('esfuserid',$esfuserid,time() + 3600 * 24 * 7,'/','.house365.com');
setcookie('esfpassword',$esfpassword,time() + 3600 * 24 * 7,'/','.house365.com');
}
}
}else{
return false;
}
}
return $info;
// if(empty($_COOKIE['sso_token'])){
// return false;
// }
// $ci = & get_instance();
// if(empty($_COOKIE['esfuserid']) || empty($_COOKIE['esfpassword'])){
// $url = 'http://api.house365.com/passport/check_login_bytoken.php?sso_token='.$_COOKIE['sso_token'];
// $info = json_decode(curl_get_contents($url),1);
// if(is_array($info)){
// if (isset($info['data']['passport_uid']) && $info['data']['passport_uid']) {
// $passport_uid = $info['data']['passport_uid'];
// $ci->load->model('user_model');
// $user = $ci->user_model->get_data(array('form_name' => 'personal_user','where'=>array('passport_uid'=>$passport_uid),'select'=>array('id','telno','password')),'esfbak');
// if($user){
// $esfuserid = $user[0]['id'];
// $esfpassword = $user[0]['password'];
// setcookie('esfuserid',$esfuserid,time() + 3600 * 24 * 7,'/','.house365.com');
// setcookie('esfpassword',$esfpassword,time() + 3600 * 24 * 7,'/','.house365.com');
// }
// }
// }else{
// return false;
// }
// }
//
// return $info;
}
function getLoginInfoBySSOUcenter(){
......
......@@ -58,6 +58,22 @@ class Package_model extends MY_Model
return time() . $formatType . $randValue;
}
/**
* 获取某个产品的0元支付交易号
* @param int $type 产品类型 1代表首页推荐,2代表列表页推荐,3代表智能刷新,4代表普通刷新
* @return string
*/
public function getPaymentTransactionId($type)
{
//防止订单ID与租售宝重复,$type 定义为从50开始
$type = 50 + $type;
$formatType = self::formatValue($type, 2);
//随机数
$randValue = self::formatValue(self::randValue(), 4);
//订单号
return 'zeropay-' . time() . $formatType . $randValue;
}
/**
* 获取套餐详情
* @param int $id 套餐ID
......@@ -552,6 +568,11 @@ class Package_model extends MY_Model
//订单状态更新成功,设置缓存5分钟内不再允许更新
$this->memcached_class->add( $cacheKey, 1, 300 );
//更新优惠券
if (GB_CITY == 'nj' && (int)$orderInfo['coupon_id'] > 0) {
$this->updateCouponStatus( $orderInfo['user_id'], $orderInfo['coupon_id'] );
}
$data = array();
$tableArray = array( 1 => 'sell' , 2 => 'rent');
$tbl = $tableArray[$orderInfo['house_type']];
......@@ -947,6 +968,18 @@ class Package_model extends MY_Model
}
/**
* 验证优惠券
* @param $user_id
* @param $coupon_id
*/
public function updateCouponStatus( $user_id, $coupon_id ) {
$url = GB_UPDATE_COUPON_URL . '?uid=' . $user_id .'&coupon_id=' . $coupon_id;
$couponRes = curl_get_contents( $url );
$couponRes = !empty( $couponRes ) ? json_decode( $couponRes, 1 ) : array();
return $couponRes;
}
/**
* 远程获取
* @author zj
......@@ -968,4 +1001,42 @@ class Package_model extends MY_Model
curl_close($ch);
return $str;
}
/**
* 发送消息
* @author zj
* @date 2020-09-08
*
* @param array $orderInfo 订单数据
* @return bool
*/
public function sendMsg( $orderInfo ) {
$message = '';
$this->load->library("apply_class");
if ( $orderInfo['package_type'] == 1 ) {
$message = "您已成功购买{$orderInfo['package_days']}天的首页推荐套餐,购买的套餐可以在个人中心-我的订单进行查看。";
} else if ( $orderInfo['package_type'] == 2 ) {
$message = "您已成功购买{$orderInfo['package_days']}天的列表页推荐套餐,购买的套餐可以在个人中心-我的订单进行查看。";
} else if ( $orderInfo['package_type'] == 3 ) {
$message = "您已成功购买{$orderInfo['package_days']}天的智能刷新套餐,购买的套餐可以在个人中心-我的订单进行查看。";
} else if ( $orderInfo['package_type'] == 6 ) {
$message = "您已成功购买24小时{$orderInfo['refresh_num']}次刷新,您可以选择手动去刷新或者设置时间预约刷新,购买的套餐可以在个人中心-我的订单进行查看哦";
}
if ( !$message ) {
return false;
}
//发送用户中心消息
$subject = '购买套餐成功。';
$this->apply_class->send_systemmsg( $orderInfo['user_id'], $subject, $message, 7, GB_CITY );
//发送短信
$telno = isset( $orderInfo['house_tel'] ) ? $orderInfo['house_tel'] : '';
if ( $telno ) {
sendsms( $telno, $message, 'sx' );
}
return true;
}
}
\ No newline at end of file
......@@ -2579,9 +2579,9 @@ if($searcharr['infotype']==4){
function get_buy_by_uid($uid,$offset=0,$pagesize=0,$sendtime='')
{
if(!empty($sendtime)){
$buy_array = $this->get_data(array('form_name' => 'buy','where'=>array('uid'=>$uid,'esta'=>1,'creattime >'=>$sendtime),'limit'=>$offset,'offset'=>$pagesize,'order_by'=>'id DESC','select'=>array('matched_num','id','infotype','infofrom','address','buildyear','buildyear1','buildyear2','buildarea1','buildarea2','room','price1','price2','remark','allow_match','creattime','esta','telno')),'esfhousebak');
$buy_array = $this->get_data(array('form_name' => 'buy','where'=>array('uid'=>$uid,'esta'=>1,'creattime >'=>$sendtime),'limit'=>$pagesize,'offset'=>$offset,'order_by'=>'id DESC','select'=>array('matched_num','id','infotype','infofrom','address','buildyear','buildyear1','buildyear2','buildarea1','buildarea2','room','price1','price2','remark','allow_match','creattime','esta','telno')),'esfhousebak');
}else{
$buy_array = $this->get_data(array('form_name' => 'buy','where'=>array('uid'=>$uid,'esta'=>1),'limit'=>$offset,'offset'=>$pagesize,'order_by'=>'id DESC','select'=>array('matched_num','id','infotype','infofrom','address','buildyear','buildyear1','buildyear2','buildarea1','buildarea2','room','price1','price2','remark','allow_match','creattime','esta','telno')),'esfhousebak');
$buy_array = $this->get_data(array('form_name' => 'buy','where'=>array('uid'=>$uid,'esta'=>1),'limit'=>$pagesize,'offset'=>$offset,'order_by'=>'id DESC','select'=>array('matched_num','id','infotype','infofrom','address','buildyear','buildyear1','buildyear2','buildarea1','buildarea2','room','price1','price2','remark','allow_match','creattime','esta','telno')),'esfhousebak');
}
if(is_array($buy_array) && !empty($buy_array) && GB_CITY=='nj')
{
......@@ -5818,7 +5818,7 @@ if($searcharr['infotype']==4){
$passport_info = $this->get_data(array('form_name' => 'personal_user','limit'=>1,'where'=>array('id'=>$uid),'select'=>array('passport_uid')),'esfbak');
if ($passport_info) {
$passport_uid =$passport_info['0']['passport_uid'];
$url ="http://api.house365.com/passport/passport_changephone.php?come_from=1&passport_uid=".$passport_uid."&phoneold=".$oldPhone."&phone=".$newPhone;
// $url ="http://api.house365.com/passport/passport_changephone.php?come_from=1&passport_uid=".$passport_uid."&phoneold=".$oldPhone."&phone=".$newPhone;
// get_api($url);
}
}
......@@ -6119,6 +6119,53 @@ if($searcharr['infotype']==4){
return $collect_array;
}
/**
* 验证优惠券
* @param $user_id
* @param $coupon_id
* @param $price
* @param $packageType
*/
public function checkCoupon( $user_id, $coupon_id, $price, $packageType) {
$url = GB_CHECK_COUPON_URL . '?uid=' . $user_id .'&coupon_id=' . $coupon_id . '&price=' . $price . '&package_type=' . $packageType;
$couponRes = curl_get_contents( $url );
$couponRes = !empty( $couponRes ) ? json_decode( $couponRes, 1 ) : array();
return $couponRes;
}
/**
* 验证优惠券
* @param $order_code
* @param $user_id
* @param $coupon_id
* @param $price
* @param $packageType
*/
public function useCoupon( $order_code, $user_id, $coupon_id, $price, $packageType ) {
$params = array(
'order_code' => $order_code,
'coupon_id' => $coupon_id,
'price' => $price,
'uid' => $user_id,
'package_type' => $packageType,
);
$url = GB_USE_COUPON_URL;
$couonRes = $this->request_post( $url, $params );
$couonRes = !empty( $couonRes ) ? json_decode( $couonRes, 1 ) : array();
return $couonRes;
}
/**
* 记录日志
* @param $params
*/
public function addLog( $msg, $content ) {
$url = GB_ADD_LOG_URL;
$res = $this->request_post( $url, array( 'msg' => iconv('gbk', 'utf-8', $msg), 'content' => $content ) );
return $res;
}
function request_post($url = '', $param = '') {
if (empty($url) || empty($param)) {
return false;
......
......@@ -5694,8 +5694,8 @@ class User_Xue_model extends MY_Model
$passport_info = $this->get_data(array('form_name' => 'personal_user','limit'=>1,'where'=>array('id'=>$uid),'select'=>array('passport_uid')),'esfbak');
if ($passport_info) {
$passport_uid =$passport_info['0']['passport_uid'];
$url ="http://api.house365.com/passport/passport_changephone.php?come_from=1&passport_uid=".$passport_uid."&phoneold=".$oldPhone."&phone=".$newPhone;
get_api($url);
// $url ="http://api.house365.com/passport/passport_changephone.php?come_from=1&passport_uid=".$passport_uid."&phoneold=".$oldPhone."&phone=".$newPhone;
// get_api($url);
}
}
......
......@@ -409,10 +409,10 @@ class User_Zhou_model extends MY_Model
{
$passport_uid =$passport_info['0']['passport_uid'];
$url ="http://api.house365.com/passport/passport_changepwd.php?passport_uid=".$passport_uid."&passport_pwd=".$passport_pwd."&passport_new_pwd=".$passport_new_pwd;
// $url ="http://api.house365.com/passport/passport_changepwd.php?passport_uid=".$passport_uid."&passport_pwd=".$passport_pwd."&passport_new_pwd=".$passport_new_pwd;
//echo $url;die;
get_api($url);
// get_api($url);
}
}
......@@ -432,9 +432,9 @@ class User_Zhou_model extends MY_Model
{
$passport_uid =$passport_info['0']['passport_uid'];
$url ="http://api.house365.com/passport/passport_changepwd.php?passport_uid=".$passport_uid."&phoneold=".$phoneold."&phone=".$phone;
get_api($url);
// $url ="http://api.house365.com/passport/passport_changepwd.php?passport_uid=".$passport_uid."&phoneold=".$phoneold."&phone=".$phone;
//
// get_api($url);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment