✨ feat(37需求): 登录页面和加载页面支持上传
This commit is contained in:
@@ -90,9 +90,9 @@ export default class Game extends Service {
|
||||
}
|
||||
|
||||
// 更新推广包
|
||||
public async editPackage(regionId: number, pid: string, gid: string, pkgName: string, pkgDesc: string, isOpen = true) {
|
||||
public async editPackage(regionId: number, pid: string, gid: string, pkgName: string, pkgDesc: string, isOpen = true, loadingPage = '', loginPage = '') {
|
||||
const { ctx } = this;
|
||||
const packageInfo = await PackageModel.updatePackage({regionId, pkgName, pkgDesc, pid, gid, isOpen}, ctx.user?.uid);
|
||||
const packageInfo = await PackageModel.updatePackage({regionId, pkgName, pkgDesc, pid, gid, isOpen, loadingPage, loginPage}, ctx.user?.uid);
|
||||
if (!packageInfo) {
|
||||
return ctx.service.utils.resResult(STATUS.PACKAGE_UPDATE_FAILED);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user