修改完成新手任務的接口

This commit is contained in:
Martin 2024-10-09 17:56:47 +08:00
parent c24642e75a
commit ce3dc1cd3d

View File

@ -611,7 +611,7 @@ public class LiveHttpUtil {
* 完成新手任務
*/
public static void setFrontTask(String type, HttpCallback callback) {
HttpClient.getInstance().get("User.setFrontTask", "User.setFrontTask")
HttpClient.getInstance().get("tasknew.sendFreeGift", "tasknew.sendFreeGift")
.params("type", type)
.execute(callback);
}
@ -620,8 +620,7 @@ public class LiveHttpUtil {
* 完成新手任務
*/
public static void setFrontTask(String type, String liveuid, HttpCallback callback) {
HttpClient.getInstance().get("User.setFrontTask", "User.setFrontTask")
.params("type", type)
HttpClient.getInstance().get("tasknew.sendFreeGift", "tasknew.sendFreeGift")
.params("liveuid", liveuid)
.execute(callback);
}