From 6013a316aa013f6cd7c1e3b14bd3e5306b40165d Mon Sep 17 00:00:00 2001 From: RogerWork Date: Mon, 15 Jan 2024 17:02:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=BD=93=E5=89=8D=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E8=B4=A6=E5=8F=B7=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/update.js | 24 +++++++++++++++ src/views/update/index.vue | 61 +++++++++++++++++++++++++++++++++----- 2 files changed, 77 insertions(+), 8 deletions(-) diff --git a/src/apis/update.js b/src/apis/update.js index 014592f..8468709 100644 --- a/src/apis/update.js +++ b/src/apis/update.js @@ -21,3 +21,27 @@ export const cinema_search = (params) => { params: req_params }) } + +export const cinema_user = () => { + return request({ + url: `/update/user/`, + method: 'get', + }) +} + + +export const change_cinema_user = (params) => { + const cinema_id = params['id'] + const req_params = { + id: cinema_id, + } + const req_data = JSON.stringify({ + 'user': params['user'], + }) + return request({ + url: `/update/update_user/`, + method: 'post', + params: req_params, + data: req_data, + }) +} \ No newline at end of file diff --git a/src/views/update/index.vue b/src/views/update/index.vue index e63ec59..b52a402 100644 --- a/src/views/update/index.vue +++ b/src/views/update/index.vue @@ -1,6 +1,6 @@