...
|
...
|
@@ -30,7 +30,7 @@ class StarClassData |
|
|
$param['method'] = 'app.starClass.rankInfo';
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
return Yohobuy::httpBuildQuery(Yohobuy::DEV_API_URL, $param);
|
|
|
return Yohobuy::httpBuildQuery(Yohobuy::API_URL, $param);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -44,7 +44,7 @@ class StarClassData |
|
|
$param['content_code'] = $contentCode;
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
return Yohobuy::httpBuildQuery(Yohobuy::DEV_SERVICE_URL . 'operations/api/v5/resource/get', $param);
|
|
|
return Yohobuy::httpBuildQuery(Yohobuy::API_URL . 'operations/api/v5/resource/get', $param);
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
@@ -59,7 +59,7 @@ class StarClassData |
|
|
$param['content_code'] = $contentCode;
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
return Yohobuy::get(Yohobuy::DEV_SERVICE_URL . 'operations/api/v5/resource/get', $param);
|
|
|
return Yohobuy::get(Yohobuy::API_URL . 'operations/api/v5/resource/get', $param);
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
@@ -75,7 +75,7 @@ class StarClassData |
|
|
$param['uid'] = $uid;
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
return Yohobuy::get(Yohobuy::DEV_API_URL, $param);
|
|
|
return Yohobuy::get(Yohobuy::API_URL, $param);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -93,7 +93,7 @@ class StarClassData |
|
|
$param['uid'] = $uid;
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
return Yohobuy::get(Yohobuy::DEV_SERVICE_URL . 'guang/api/v5/article/getStarClassroomArticleList', $param);
|
|
|
return Yohobuy::get(Yohobuy::API_URL . 'guang/api/v5/article/getStarClassroomArticleList', $param);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -109,7 +109,7 @@ class StarClassData |
|
|
$param['udid'] = $udid;
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
return Yohobuy::get(Yohobuy::DEV_SERVICE_URL . 'guang/api/v5/praise/setPraise', $param);
|
|
|
return Yohobuy::get(Yohobuy::API_URL . 'guang/api/v5/praise/setPraise', $param);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -124,7 +124,7 @@ class StarClassData |
|
|
$param['uid'] = $uid;
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
return Yohobuy::get(Yohobuy::DEV_API_URL, $param);
|
|
|
return Yohobuy::get(Yohobuy::API_URL, $param);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -148,7 +148,7 @@ class StarClassData |
|
|
$param['uid'] = $uid;
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
return Yohobuy::get(Yohobuy::DEV_SERVICE_URL . $url, $param);
|
|
|
return Yohobuy::get(Yohobuy::API_URL . $url, $param);
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
@@ -164,6 +164,6 @@ class StarClassData |
|
|
$param['uid'] = $uid;
|
|
|
$param['client_secret'] = Sign::getSign($param);
|
|
|
|
|
|
return Yohobuy::get(Yohobuy::DEV_API_URL, $param);
|
|
|
return Yohobuy::get(Yohobuy::API_URL, $param);
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|