|
@@ -7,6 +7,7 @@ const rkey = 'point';
|
|
|
const ckey = 'user.point';
|
|
|
const keyZh = '积分';
|
|
|
const routes = [
|
|
|
+ { method: 'get', path: `${rkey}/computedTotal`, controller: `${ckey}.computedTotal`, name: `${ckey}computedTotal`, zh: `${keyZh}计算总分` },
|
|
|
{ method: 'get', path: `${rkey}`, controller: `${ckey}.index`, name: `${ckey}Query`, zh: `${keyZh}列表查询` },
|
|
|
{ method: 'get', path: `${rkey}/:id`, controller: `${ckey}.show`, name: `${ckey}Show`, zh: `${keyZh}查询` },
|
|
|
{ method: 'post', path: `${rkey}`, controller: `${ckey}.create`, name: `${ckey}Create`, zh: `创建${keyZh}` },
|