Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
79baa9c2
authored
Sep 13, 2025
by
lijinqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分文案修改
parent
327c2c94
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
42 additions
and
42 deletions
+42
-42
.env.local
+1
-1
.env.prod
+1
-1
src/api/apihub/api/index.ts
+1
-1
src/views/apihub/api/ApiForm.vue
+3
-3
src/views/apihub/api/index.vue
+6
-6
src/views/apihub/apicalllog/index.vue
+1
-1
src/views/apihub/apiendpoint/index.vue
+1
-1
src/views/apihub/apiorder/index.vue
+28
-28
No files found.
.env.local
View file @
79baa9c2
...
...
@@ -29,7 +29,7 @@ VITE_BASE_PATH=/
VITE_MALL_H5_DOMAIN='http://localhost:3000'
# 验证码的开关
VITE_APP_CAPTCHA_ENABLE=
tru
e
VITE_APP_CAPTCHA_ENABLE=
fals
e
# GoView域名
VITE_GOVIEW_URL='http://127.0.0.1:3000'
.env.prod
View file @
79baa9c2
...
...
@@ -4,7 +4,7 @@ NODE_ENV=production
VITE_DEV=false
# 请求路径
VITE_BASE_URL=
/admin-api
VITE_BASE_URL=
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
VITE_UPLOAD_TYPE=server
...
...
src/api/apihub/api/index.ts
View file @
79baa9c2
...
...
@@ -14,7 +14,7 @@ export interface ApiPackage {
export
interface
Api
{
id
:
number
;
// API ID
name
?:
string
;
//
API
名称
name
?:
string
;
//
应用
名称
description
:
string
;
// API 简介
detail
:
string
;
// API 详细介绍
doc
:
string
;
// 接口文档内容
...
...
src/views/apihub/api/ApiForm.vue
View file @
79baa9c2
...
...
@@ -7,8 +7,8 @@
label-width=
"100px"
v-loading=
"formLoading"
>
<el-form-item
label=
"
API
名称"
prop=
"name"
>
<el-input
v-model=
"formData.name"
placeholder=
"
请输入API
名称"
/>
<el-form-item
label=
"
应用
名称"
prop=
"name"
>
<el-input
v-model=
"formData.name"
placeholder=
"
应用
名称"
/>
</el-form-item>
<!-- 分类选择 -->
<el-form-item
label=
"分类"
prop=
"categoryId"
>
...
...
@@ -112,8 +112,8 @@
<thead>
<tr>
<th>
资源包名称
</th>
<th>
数量
</th>
<th>
价格
</th>
<th>
数量
</th>
<th>
有效期
</th>
<th
style=
"width: 140px"
>
操作
</th>
</tr>
...
...
src/views/apihub/api/index.vue
View file @
79baa9c2
...
...
@@ -8,10 +8,10 @@
:inline=
"true"
label-width=
"68px"
>
<el-form-item
label=
"
API
名称"
prop=
"name"
>
<el-form-item
label=
"
应用
名称"
prop=
"name"
>
<el-input
v-model=
"queryParams.name"
placeholder=
"请输入
API
名称"
placeholder=
"请输入
应用
名称"
clearable
@
keyup
.
enter=
"handleQuery"
class=
"!w-240px"
...
...
@@ -87,10 +87,10 @@
@
selection-change=
"handleRowCheckboxChange"
>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
label=
"
API
名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"
API
分类"
align=
"center"
prop=
"categoryName"
/>
<el-table-column
label=
"
API
简介"
align=
"center"
prop=
"description"
/>
<el-table-column
label=
"
API
详细介绍"
align=
"center"
prop=
"detail"
/>
<el-table-column
label=
"
应用
名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"
应用
分类"
align=
"center"
prop=
"categoryName"
/>
<el-table-column
label=
"
应用
简介"
align=
"center"
prop=
"description"
/>
<el-table-column
label=
"
应用
详细介绍"
align=
"center"
prop=
"detail"
/>
<el-table-column
label=
"接口文档内容"
align=
"center"
prop=
"doc"
/>
<el-table-column
label=
"状态"
align=
"center"
prop=
"status"
>
<template
#
default=
"scope"
>
...
...
src/views/apihub/apicalllog/index.vue
View file @
79baa9c2
...
...
@@ -20,7 +20,7 @@
<el-form-item
label=
"接口名称"
prop=
"apiEndpointName"
>
<el-input
v-model=
"queryParams.apiEndpointName"
placeholder=
"调用用户
机号
"
placeholder=
"调用用户
手机
"
clearable
@
keyup
.
enter=
"handleQuery"
class=
"!w-240px"
...
...
src/views/apihub/apiendpoint/index.vue
View file @
79baa9c2
...
...
@@ -137,7 +137,7 @@
>
<el-table-column
type=
"selection"
width=
"55"
/>
<!--
<el-table-column
label=
"接口ID"
align=
"center"
prop=
"id"
/>
-->
<el-table-column
label=
"接口名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"接口名称"
align=
"center"
prop=
"name"
width=
"160px"
/>
<el-table-column
label=
"接口路径"
align=
"center"
prop=
"path"
width=
"460px"
/>
<el-table-column
label=
"请求方式"
align=
"center"
prop=
"method"
/>
<el-table-column
label=
"消耗点数"
align=
"center"
prop=
"consumptionPoints"
/>
...
...
src/views/apihub/apiorder/index.vue
View file @
79baa9c2
...
...
@@ -139,17 +139,17 @@
>
<el-table-column
type=
"selection"
width=
"55"
/>
<!--
<el-table-column
label=
"订单ID"
align=
"center"
prop=
"id"
/>
-->
<el-table-column
label=
"用户手机号"
align=
"center"
prop=
"userMobile"
/>
<el-table-column
label=
"API应用"
align=
"center"
prop=
"apiName"
/>
<el-table-column
label=
"套餐名称"
align=
"center"
prop=
"packageName"
/>
<el-table-column
label=
"订单编号"
align=
"center"
prop=
"orderNo"
/>
<el-table-column
label=
"订单金额
(元)
"
align=
"center"
prop=
"costPrice"
>
<el-table-column
label=
"用户手机号"
align=
"center"
prop=
"userMobile"
width=
"120px"
/>
<el-table-column
label=
"API应用"
align=
"center"
prop=
"apiName"
width=
"100px"
/>
<el-table-column
label=
"套餐名称"
align=
"center"
prop=
"packageName"
width=
"100px"
/>
<el-table-column
label=
"订单编号"
align=
"center"
prop=
"orderNo"
width=
"100px"
/>
<el-table-column
label=
"订单金额"
align=
"center"
prop=
"costPrice"
>
<template
#
default=
"scope"
>
{{
(
scope
.
row
.
costPrice
/
100
).
toFixed
(
2
)
}}
元
</
template
>
</el-table-column>
<el-table-column
label=
"订单状态"
align=
"center"
prop=
"statusName"
/>
<el-table-column
label=
"支付订单编号"
align=
"center"
prop=
"payOrderId"
/
>
<!-- <el-table-column label="支付订单编号" align="center" prop="payOrderId" />--
>
<el-table-column
label=
"订单支付时间"
align=
"center"
...
...
@@ -158,28 +158,28 @@
width=
"180px"
/>
<el-table-column
label=
"支付状态"
align=
"center"
prop=
"payStatusName"
/>
<el-table-column
label=
"订单完成时间"
align=
"center"
prop=
"finishTime"
:formatter=
"dateFormatter"
width=
"180px"
/
>
<el-table-column
label=
"订单取消时间"
align=
"center"
prop=
"cancelTime"
:formatter=
"dateFormatter"
width=
"180px"
/
>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/
>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
:formatter=
"dateFormatter"
width=
"180px"
/
>
<!-- <el-table-column-->
<!-- label="订单完成时间"-->
<!-- align="center"-->
<!-- prop="finishTime"-->
<!-- :formatter="dateFormatter"-->
<!-- width="180px"-->
<!-- />--
>
<!-- <el-table-column-->
<!-- label="订单取消时间"-->
<!-- align="center"-->
<!-- prop="cancelTime"-->
<!-- :formatter="dateFormatter"-->
<!-- width="180px"-->
<!-- />--
>
<!-- <el-table-column label="备注" align="center" prop="remark" />--
>
<!-- <el-table-column-->
<!-- label="创建时间"-->
<!-- align="center"-->
<!-- prop="createTime"-->
<!-- :formatter="dateFormatter"-->
<!-- width="180px"-->
<!-- />--
>
<el-table-column
label=
"操作"
align=
"center"
min-width=
"120px"
>
<
template
#
default=
"scope"
>
<el-button
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment