fix: some bugs

master
qier222 4 years ago
parent 3449c02d0c
commit e9b6a81bef

@ -1,19 +1,5 @@
import request from "@/utils/request";
export function login(params) {
// 必选参数 :
// phone: 手机号码
// password: 密码
// 可选参数 :
// countrycode: 国家码用于国外手机号登陆例如美国传入1
// md5_password: md5加密后的密码,传入后 password 将失效
return request({
url: "/login/cellphone",
method: "get",
params,
});
}
export function userDetail(uid) {
return request({
url: "/user/detail",
@ -44,3 +30,14 @@ export function userLikedSongsIDs(uid) {
},
});
}
export function dailySignin(type = 0) {
//可选参数 : type: 签到类型 , 默认 0, 其中 0 为安卓端签到 ,1 为 web/PC 签到
return request({
url: "/daily_signin",
method: "post",
params: {
type,
},
});
}

@ -163,6 +163,7 @@ export default {
filter: blur(16px) opacity(0.6);
z-index: -1;
height: 208px;
transform: scale(0.98);
}
.play-button {
opacity: 0;

@ -27,7 +27,7 @@
<a
href="https://github.com/qier222/YesPlayMusic"
target="blank"
v-if="settings.showGithubIcon"
v-if="settings.showGithubIcon !== false"
><svg-icon icon-class="github" class="github"
/></a>
<div class="search-box">

@ -24,7 +24,6 @@ Vue.config.productionTip = false;
initMediaSession();
if (process.env.VUE_APP_ENABLE_SENTRY === "true") {
console.log("VUE_APP_ENABLE_SENTRY");
Sentry.init({
dsn:
"https://30aaa25152974f48971912a394ab6bc3@o436528.ingest.sentry.io/5477409",

Loading…
Cancel
Save