Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
Project
Project
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
曲欣亮
member-api
Commits
6fa3d917
Commit
6fa3d917
authored
Nov 21, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初审列表
parent
b6fbf201
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
92 deletions
+13
-92
AdminCommonController.java
.../java/com/egolm/film/api/admin/AdminCommonController.java
+0
-19
AdminFilmGroupController.java
...va/com/egolm/film/api/admin/AdminFilmGroupController.java
+0
-19
AdminFirstController.java
...n/java/com/egolm/film/api/admin/AdminFirstController.java
+9
-9
AdminCommonService.java
.../com/egolm/film/api/admin/service/AdminCommonService.java
+0
-5
AdminFilmGroupService.java
...m/egolm/film/api/admin/service/AdminFilmGroupService.java
+0
-5
AdminCommonServiceImpl.java
...m/film/api/admin/service/impl/AdminCommonServiceImpl.java
+0
-15
AdminFilmGroupServiceImpl.java
...ilm/api/admin/service/impl/AdminFilmGroupServiceImpl.java
+0
-15
AliyunSign.java
src/main/java/com/egolm/film/util/AliyunSign.java
+1
-3
AliyunUtil.java
src/main/java/com/egolm/film/util/AliyunUtil.java
+3
-2
No files found.
src/main/java/com/egolm/film/api/admin/AdminCommonController.java
deleted
100644 → 0
View file @
b6fbf201
package
com
.
egolm
.
film
.
api
.
admin
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
com.egolm.film.api.admin.service.AdminCommonService
;
import
io.swagger.annotations.Api
;
@Api
@Controller
@RequestMapping
(
"admin/common"
)
public
class
AdminCommonController
{
@Autowired
AdminCommonService
service
;
}
src/main/java/com/egolm/film/api/admin/AdminFilmGroupController.java
deleted
100644 → 0
View file @
b6fbf201
package
com
.
egolm
.
film
.
api
.
admin
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
com.egolm.film.api.admin.service.AdminFilmGroupService
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.Api
;
@Api
@Controller
@RequestMapping
(
"admin/film_group"
)
public
class
AdminFilmGroupController
{
@Autowired
AdminFilmGroupService
service
;
}
src/main/java/com/egolm/film/api/admin/AdminFirstController.java
View file @
6fa3d917
...
@@ -37,20 +37,20 @@ public class AdminFirstController {
...
@@ -37,20 +37,20 @@ public class AdminFirstController {
@ResponseBody
@ResponseBody
@PostMapping
(
"list"
)
@PostMapping
(
"list"
)
@ApiOperation
(
"
管理员
分页查询"
)
@ApiOperation
(
"
初审列表
分页查询"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"keyword"
,
value
=
"关键字"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"keyword"
,
value
=
"关键字"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"integer"
,
required
=
false
,
name
=
"apply_state"
,
value
=
"状态"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"integer"
,
required
=
false
,
name
=
"apply_state"
,
value
=
"状态"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"integer"
,
required
=
false
,
name
=
"film_type"
,
value
=
"影片类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"integer"
,
required
=
false
,
name
=
"film_type"
,
value
=
"影片类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"integer"
,
required
=
false
,
name
=
"enroll_type"
,
value
=
"影片性质"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"integer"
,
required
=
false
,
name
=
"enroll_type"
,
value
=
"影片性质"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"index"
,
value
=
"分页编号"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"index"
,
value
=
"分页编号"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"limit"
,
value
=
"分页大小"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"limit"
,
value
=
"分页大小"
),
})
})
public
Object
list
(
String
keyword
,
Integer
state
,
String
film_type
,
String
enroll_type
,
Long
index
,
Long
limit
)
{
public
Object
list
(
String
keyword
,
Integer
apply_
state
,
String
film_type
,
String
enroll_type
,
Long
index
,
Long
limit
)
{
index
=
index
==
null
?
1
:
index
;
index
=
index
==
null
?
1
:
index
;
limit
=
limit
==
null
?
20
:
limit
;
limit
=
limit
==
null
?
20
:
limit
;
Page
page
=
new
Page
(
index
,
limit
);
Page
page
=
new
Page
(
index
,
limit
);
List
<
Map
<
String
,
Object
>>
list
=
memberService
.
queryChuShenList
(
keyword
,
state
,
film_type
,
enroll_type
,
page
);
List
<
Map
<
String
,
Object
>>
list
=
memberService
.
queryChuShenList
(
keyword
,
apply_
state
,
film_type
,
enroll_type
,
page
);
return
Rjx
.
jsonOk
().
setData
(
list
);
return
Rjx
.
jsonOk
().
setData
(
list
);
}
}
...
...
src/main/java/com/egolm/film/api/admin/service/AdminCommonService.java
deleted
100644 → 0
View file @
b6fbf201
package
com
.
egolm
.
film
.
api
.
admin
.
service
;
public
interface
AdminCommonService
{
}
src/main/java/com/egolm/film/api/admin/service/AdminFilmGroupService.java
deleted
100644 → 0
View file @
b6fbf201
package
com
.
egolm
.
film
.
api
.
admin
.
service
;
public
interface
AdminFilmGroupService
{
}
src/main/java/com/egolm/film/api/admin/service/impl/AdminCommonServiceImpl.java
deleted
100644 → 0
View file @
b6fbf201
package
com
.
egolm
.
film
.
api
.
admin
.
service
.
impl
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.egolm.common.jdbc.JdbcTemplate
;
import
com.egolm.film.api.admin.service.AdminCommonService
;
@Service
public
class
AdminCommonServiceImpl
implements
AdminCommonService
{
@Autowired
JdbcTemplate
jdbcTemplate
;
}
src/main/java/com/egolm/film/api/admin/service/impl/AdminFilmGroupServiceImpl.java
deleted
100644 → 0
View file @
b6fbf201
package
com
.
egolm
.
film
.
api
.
admin
.
service
.
impl
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.egolm.common.jdbc.JdbcTemplate
;
import
com.egolm.film.api.admin.service.AdminFilmGroupService
;
@Service
public
class
AdminFilmGroupServiceImpl
implements
AdminFilmGroupService
{
@Autowired
JdbcTemplate
jdbcTemplate
;
}
src/main/java/com/egolm/film/util/AliyunSign.java
View file @
6fa3d917
...
@@ -20,8 +20,6 @@ import javax.crypto.spec.SecretKeySpec;
...
@@ -20,8 +20,6 @@ import javax.crypto.spec.SecretKeySpec;
import
com.egolm.common.DateUtil
;
import
com.egolm.common.DateUtil
;
import
com.egolm.common.StringUtil
;
import
com.egolm.common.StringUtil
;
import
sun.misc.BASE64Encoder
;
public
class
AliyunSign
{
public
class
AliyunSign
{
...
@@ -108,7 +106,7 @@ public class AliyunSign {
...
@@ -108,7 +106,7 @@ public class AliyunSign {
mac
.
init
(
signKey
);
mac
.
init
(
signKey
);
byte
[]
rawHmac
=
mac
.
doFinal
(
stringtoSign
.
getBytes
());
byte
[]
rawHmac
=
mac
.
doFinal
(
stringtoSign
.
getBytes
());
//按照Base64 编码规则把上面的 HMAC 值编码成字符串,即得到签名值(Signature)
//按照Base64 编码规则把上面的 HMAC 值编码成字符串,即得到签名值(Signature)
return
new
String
(
new
BASE64Encoder
().
encode
(
rawHmac
)
);
return
StringUtil
.
encodeBase64String
(
rawHmac
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
throw
new
SignatureException
(
"Failed to generate HMAC : "
+
e
.
getMessage
());
throw
new
SignatureException
(
"Failed to generate HMAC : "
+
e
.
getMessage
());
}
}
...
...
src/main/java/com/egolm/film/util/AliyunUtil.java
View file @
6fa3d917
...
@@ -20,8 +20,8 @@ import com.aliyuncs.vod.model.v20170321.RefreshUploadVideoResponse;
...
@@ -20,8 +20,8 @@ import com.aliyuncs.vod.model.v20170321.RefreshUploadVideoResponse;
import
com.egolm.common.HttpsUtil
;
import
com.egolm.common.HttpsUtil
;
public
class
AliyunUtil
{
public
class
AliyunUtil
{
private
static
String
accessKeyId
=
""
;
//"LTAIOtHCCpDLXYp8";
private
String
accessKeyId
=
""
;
//"LTAIOtHCCpDLXYp8";
private
static
String
accessKeySecret
=
""
;
//"9XTHW7P9TTRvCsBHBSclOue2tdWOoa";
private
String
accessKeySecret
=
""
;
//"9XTHW7P9TTRvCsBHBSclOue2tdWOoa";
private
final
DefaultAcsClient
aliyunClient
;
private
final
DefaultAcsClient
aliyunClient
;
...
@@ -131,6 +131,7 @@ public class AliyunUtil {
...
@@ -131,6 +131,7 @@ public class AliyunUtil {
}
}
@SuppressWarnings
(
"deprecation"
)
public
void
createSts
()
{
public
void
createSts
()
{
String
endpoint
=
"sts.aliyuncs.com"
;
String
endpoint
=
"sts.aliyuncs.com"
;
String
accessKeyId
=
this
.
accessKeyId
;
String
accessKeyId
=
this
.
accessKeyId
;
...
...
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