Showing
1 changed file
with
9 additions
and
9 deletions
@@ -30,7 +30,7 @@ class StarClassData | @@ -30,7 +30,7 @@ class StarClassData | ||
30 | $param['method'] = 'app.starClass.rankInfo'; | 30 | $param['method'] = 'app.starClass.rankInfo'; |
31 | $param['client_secret'] = Sign::getSign($param); | 31 | $param['client_secret'] = Sign::getSign($param); |
32 | 32 | ||
33 | - return Yohobuy::httpBuildQuery(Yohobuy::DEV_API_URL, $param); | 33 | + return Yohobuy::httpBuildQuery(Yohobuy::API_URL, $param); |
34 | } | 34 | } |
35 | 35 | ||
36 | /** | 36 | /** |
@@ -44,7 +44,7 @@ class StarClassData | @@ -44,7 +44,7 @@ class StarClassData | ||
44 | $param['content_code'] = $contentCode; | 44 | $param['content_code'] = $contentCode; |
45 | $param['client_secret'] = Sign::getSign($param); | 45 | $param['client_secret'] = Sign::getSign($param); |
46 | 46 | ||
47 | - return Yohobuy::httpBuildQuery(Yohobuy::DEV_SERVICE_URL . 'operations/api/v5/resource/get', $param); | 47 | + return Yohobuy::httpBuildQuery(Yohobuy::API_URL . 'operations/api/v5/resource/get', $param); |
48 | } | 48 | } |
49 | 49 | ||
50 | 50 | ||
@@ -59,7 +59,7 @@ class StarClassData | @@ -59,7 +59,7 @@ class StarClassData | ||
59 | $param['content_code'] = $contentCode; | 59 | $param['content_code'] = $contentCode; |
60 | $param['client_secret'] = Sign::getSign($param); | 60 | $param['client_secret'] = Sign::getSign($param); |
61 | 61 | ||
62 | - return Yohobuy::get(Yohobuy::DEV_SERVICE_URL . 'operations/api/v5/resource/get', $param); | 62 | + return Yohobuy::get(Yohobuy::API_URL . 'operations/api/v5/resource/get', $param); |
63 | } | 63 | } |
64 | 64 | ||
65 | 65 | ||
@@ -75,7 +75,7 @@ class StarClassData | @@ -75,7 +75,7 @@ class StarClassData | ||
75 | $param['uid'] = $uid; | 75 | $param['uid'] = $uid; |
76 | $param['client_secret'] = Sign::getSign($param); | 76 | $param['client_secret'] = Sign::getSign($param); |
77 | 77 | ||
78 | - return Yohobuy::get(Yohobuy::DEV_API_URL, $param); | 78 | + return Yohobuy::get(Yohobuy::API_URL, $param); |
79 | } | 79 | } |
80 | 80 | ||
81 | /** | 81 | /** |
@@ -93,7 +93,7 @@ class StarClassData | @@ -93,7 +93,7 @@ class StarClassData | ||
93 | $param['uid'] = $uid; | 93 | $param['uid'] = $uid; |
94 | $param['client_secret'] = Sign::getSign($param); | 94 | $param['client_secret'] = Sign::getSign($param); |
95 | 95 | ||
96 | - return Yohobuy::get(Yohobuy::DEV_SERVICE_URL . 'guang/api/v5/article/getStarClassroomArticleList', $param); | 96 | + return Yohobuy::get(Yohobuy::API_URL . 'guang/api/v5/article/getStarClassroomArticleList', $param); |
97 | } | 97 | } |
98 | 98 | ||
99 | /** | 99 | /** |
@@ -109,7 +109,7 @@ class StarClassData | @@ -109,7 +109,7 @@ class StarClassData | ||
109 | $param['udid'] = $udid; | 109 | $param['udid'] = $udid; |
110 | $param['client_secret'] = Sign::getSign($param); | 110 | $param['client_secret'] = Sign::getSign($param); |
111 | 111 | ||
112 | - return Yohobuy::get(Yohobuy::DEV_SERVICE_URL . 'guang/api/v5/praise/setPraise', $param); | 112 | + return Yohobuy::get(Yohobuy::API_URL . 'guang/api/v5/praise/setPraise', $param); |
113 | } | 113 | } |
114 | 114 | ||
115 | /** | 115 | /** |
@@ -124,7 +124,7 @@ class StarClassData | @@ -124,7 +124,7 @@ class StarClassData | ||
124 | $param['uid'] = $uid; | 124 | $param['uid'] = $uid; |
125 | $param['client_secret'] = Sign::getSign($param); | 125 | $param['client_secret'] = Sign::getSign($param); |
126 | 126 | ||
127 | - return Yohobuy::get(Yohobuy::DEV_API_URL, $param); | 127 | + return Yohobuy::get(Yohobuy::API_URL, $param); |
128 | } | 128 | } |
129 | 129 | ||
130 | /** | 130 | /** |
@@ -148,7 +148,7 @@ class StarClassData | @@ -148,7 +148,7 @@ class StarClassData | ||
148 | $param['uid'] = $uid; | 148 | $param['uid'] = $uid; |
149 | $param['client_secret'] = Sign::getSign($param); | 149 | $param['client_secret'] = Sign::getSign($param); |
150 | 150 | ||
151 | - return Yohobuy::get(Yohobuy::DEV_SERVICE_URL . $url, $param); | 151 | + return Yohobuy::get(Yohobuy::API_URL . $url, $param); |
152 | } | 152 | } |
153 | 153 | ||
154 | 154 | ||
@@ -164,6 +164,6 @@ class StarClassData | @@ -164,6 +164,6 @@ class StarClassData | ||
164 | $param['uid'] = $uid; | 164 | $param['uid'] = $uid; |
165 | $param['client_secret'] = Sign::getSign($param); | 165 | $param['client_secret'] = Sign::getSign($param); |
166 | 166 | ||
167 | - return Yohobuy::get(Yohobuy::DEV_API_URL, $param); | 167 | + return Yohobuy::get(Yohobuy::API_URL, $param); |
168 | } | 168 | } |
169 | } | 169 | } |
-
Please register or login to post a comment