Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wenHuaBu_adminServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
wenHuaBu_adminServer
Commits
94285ee5
Commit
94285ee5
authored
Mar 04, 2024
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
943b86e1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
11 deletions
+38
-11
member.ts
src/biz/member/member.ts
+1
-1
enum.ts
src/config/enum.ts
+17
-3
router.ts
src/routers/member/router.ts
+19
-6
router.ts
src/routers/portal/router.ts
+1
-1
No files found.
src/biz/member/member.ts
View file @
94285ee5
...
...
@@ -8,7 +8,7 @@
* @param param0
*/
export
async
function
unitMemberList
({
unitName
,
joinTime
})
{
}
...
...
src/config/enum.ts
View file @
94285ee5
...
...
@@ -301,6 +301,21 @@ export enum MEMBERSTATE {
冻结
}
/**
* 单位会员类型
*/
export
enum
UNITMEMBERTYPE
{
}
\ No newline at end of file
单位会员院校
=
9
,
单位会员机构
,
单位会员其他
}
/**
* 个人会员类型 Individual
*/
export
enum
INDIVIDUALMEMBERTYPE
{
个人会员
=
1
,
个人会员专家
,
}
src/routers/member/router.ts
View file @
94285ee5
import
*
as
memberBiz
from
"../../biz/member/user"
;
import
*
as
userBiz
from
"../../biz/member/user"
;
import
*
as
memberBiz
from
"../../biz/member/member"
;
export
const
FirstName
=
'
用户
路由'
;
export
const
FirstName
=
'
会员管理
路由'
;
export
const
FirstRouter
=
'/manage/member'
;
export
const
Config
=
{
"用户注册"
:[
...
...
@@ -43,7 +44,7 @@ export const Config = {
desc
:
"表单"
}
],
bindBiz
:
memb
erBiz
.
signInOfEntity
bindBiz
:
us
erBiz
.
signInOfEntity
},
{
apiName
:
"单位会员注册"
,
...
...
@@ -88,7 +89,7 @@ export const Config = {
desc
:
"表单"
}
],
bindBiz
:
memb
erBiz
.
singInOfUnit
bindBiz
:
us
erBiz
.
singInOfUnit
}
],
"登陆相关"
:[
...
...
@@ -99,14 +100,25 @@ export const Config = {
{
key
:
"lolginId"
,
type
:
"String"
,
desc
:
"账号"
},
{
key
:
"pwd"
,
type
:
"String"
,
desc
:
"密码"
}
],
bindBiz
:
memb
erBiz
.
login
bindBiz
:
us
erBiz
.
login
},
{
apiName
:
"注销登陆"
,
subUrl
:
'/logout'
,
param
:[
],
bindBiz
:
memberBiz
.
logout
bindBiz
:
userBiz
.
logout
},
],
"会员库"
:[
{
apiName
:
"单位会员列表"
,
subUrl
:
'/memberdb/unitmemberlist'
,
//路径全小写
param
:[
{
key
:
"lolginId"
,
type
:
"String"
,
desc
:
"账号"
,
isNull
:
true
},
{
key
:
"pwd"
,
type
:
"String"
,
desc
:
"密码"
}
],
bindBiz
:
memberBiz
.
unitMemberList
},
]
}
\ No newline at end of file
src/routers/portal/router.ts
View file @
94285ee5
...
...
@@ -3,7 +3,7 @@
* {
apiName:"接口名称",
subUrl:'/xuehui/xuehuilingdao/add', //接口地址
param:[//参数 isNull=false 或者 notMustHave = true 可以不填 isNull=false表示可以为空 notMustHave=false 表示不可以为空
param:[//参数 isNull=false 或者 notMustHave = true 可以不填
配置
isNull=false表示可以为空 notMustHave=false 表示不可以为空
{
key:"form", type:"Object", sub:{
name:{typs:"String", notMustHave:false},
...
...
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