Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
8d0478fe
Commit
8d0478fe
authored
Dec 27, 2019
by
Lee Jaebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pushApiはchatapiを指定するように修正
parent
b6f1235f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/AcmsClient.java
+0
-6
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/type/AcmsApis.java
+4
-1
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/AcmsClient.java
View file @
8d0478fe
...
@@ -792,12 +792,6 @@ public class AcmsClient implements AcmsClientResponseListener {
...
@@ -792,12 +792,6 @@ public class AcmsClient implements AcmsClientResponseListener {
String
apiUrl
=
AcmsApis
.
getApiUrl
(
env
.
acmsAddress
,
urlPath
,
methodName
);
String
apiUrl
=
AcmsApis
.
getApiUrl
(
env
.
acmsAddress
,
urlPath
,
methodName
);
// チャット
if
(
apiUrl
.
equals
(
"https://abookcheckdemo.abook.bz/acms/aisinfo/abvapi/push/"
))
{
apiUrl
=
"https://abookcheckdemo.abook.bz/acms/aisinfo/chatapi/push/"
;
}
HttpResponse
response
=
send
(
apiUrl
,
methodName
,
param
);
HttpResponse
response
=
send
(
apiUrl
,
methodName
,
param
);
// 最終アクセス時間更新
// 最終アクセス時間更新
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/type/AcmsApis.java
View file @
8d0478fe
...
@@ -206,6 +206,8 @@ public class AcmsApis {
...
@@ -206,6 +206,8 @@ public class AcmsApis {
methodName
.
equals
(
ApiSendPushMessage
)
||
methodName
.
equals
(
ApiGetPushMessages
)
||
methodName
.
equals
(
ApiSendRoutineTaskData
)
||
methodName
.
equals
(
ApiSendPushMessage
)
||
methodName
.
equals
(
ApiGetPushMessages
)
||
methodName
.
equals
(
ApiSendRoutineTaskData
)
||
methodName
.
equals
(
ApiOperationGroupMaster
)
||
methodName
.
equals
(
ApiGetApertureMasterData
))
{
methodName
.
equals
(
ApiOperationGroupMaster
)
||
methodName
.
equals
(
ApiGetApertureMasterData
))
{
apiValue
=
Constant
.
ApiValue
.
checkapi
;
apiValue
=
Constant
.
ApiValue
.
checkapi
;
}
else
if
(
methodName
.
equals
(
ApiGetChatPushData
))
{
// pushActionはchatapiを指定
apiValue
=
Constant
.
ApiValue
.
chatapi
;
}
}
switch
(
apiValue
)
{
switch
(
apiValue
)
{
...
@@ -221,7 +223,8 @@ public class AcmsApis {
...
@@ -221,7 +223,8 @@ public class AcmsApis {
//ABookCheck用のapi
//ABookCheck用のapi
url
=
String
.
format
(
CheckApiUrlFormat
,
StringUtil
.
trimLastSlashOrSpace
(
host
),
StringUtil
.
trimLastSlashOrSpace
(
urlPath
),
methodName
);
url
=
String
.
format
(
CheckApiUrlFormat
,
StringUtil
.
trimLastSlashOrSpace
(
host
),
StringUtil
.
trimLastSlashOrSpace
(
urlPath
),
methodName
);
break
;
break
;
case
Constant
.
ApiValue
.
chatapi
:
// チャット
case
Constant
.
ApiValue
.
chatapi
:
// チャットAPI
url
=
String
.
format
(
ChatApiUrlFormat
,
StringUtil
.
trimLastSlashOrSpace
(
host
),
StringUtil
.
trimLastSlashOrSpace
(
urlPath
),
methodName
);
url
=
String
.
format
(
ChatApiUrlFormat
,
StringUtil
.
trimLastSlashOrSpace
(
host
),
StringUtil
.
trimLastSlashOrSpace
(
urlPath
),
methodName
);
break
;
break
;
}
}
...
...
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