Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
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
chenchuanwen
my-yaf-project
Commits
f7e36a0e
Commit
f7e36a0e
authored
Feb 16, 2019
by
lingqingmei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ccw' of
http://git.shenbd.com/api-project-dev/api.shenbd.com
into master_dev
parents
c1079899
22800361
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
10 deletions
+16
-10
Common.php
application/library/Our/Common.php
+1
-1
RefundService.php
application/models/Business/Order/RefundService.php
+1
-0
application.ini
conf/application.ini
+7
-7
url.ini
conf/url.ini
+7
-2
No files found.
application/library/Our/Common.php
View file @
f7e36a0e
...
...
@@ -314,7 +314,7 @@ public static function convertArrKey($arr, $key_name)
public
static
function
getRealStr
(
$originStr
)
{
$result
=
str_replace
(
array
(
"
\r\n
"
,
"
\r
"
,
"
\n
"
),
""
,
$originStr
);
$result
=
str_replace
(
array
(
"
\r\n
"
,
"
\r
"
,
"
\n
"
,
"
\t
"
),
""
,
$originStr
);
$result
=
trim
(
$result
);
return
$result
;
}
...
...
application/models/Business/Order/RefundService.php
View file @
f7e36a0e
...
...
@@ -1394,6 +1394,7 @@ class RefundServiceModel extends \Business\AbstractModel
}
else
{
$address
=
$addressDao
->
getAddressByStoreId
(
$refundReturn
[
'storeId'
],
$this
->
daddressField
);
}
$address
[
'areaInfo'
]
=
Common
::
getRealStr
(
$address
[
'areaInfo'
]);
if
(
!
empty
(
$address
)){
$address
[
'isDefault'
]
=
(
int
)
$address
[
'isDefault'
];
$address
[
'company'
]
=
isset
(
$address
[
'company'
])
?
$address
[
'company'
]
:
''
;
...
...
conf/application.ini
View file @
f7e36a0e
...
...
@@ -173,21 +173,21 @@ elastic.master.scheme="http";
[test : common]
; 数据库配置
resources.database.params.driver
=
"pdo_mysql"
resources.database.params.hostname
=
"1
27.0.0.1
"
resources.database.params.hostname
=
"1
72.18.0.5
"
resources.database.params.port
=
3306
resources.database.params.database
=
"qmcs"
resources.database.params.username
=
"root"
resources.database.params.password
=
"
!@#$%12345werty
"
resources.database.params.password
=
"
root
"
resources.database.params.charset
=
"UTF8"
resources.database.params.driver_options.1002
=
"SET NAMES utf8"
; 从库配置
resources.database.slave.params.driver
=
"pdo_mysql"
resources.database.slave.params.hostname
=
"1
27.0.0.1
"
resources.database.slave.params.hostname
=
"1
72.18.0.5
"
resources.database.slave.params.port
=
3306
resources.database.slave.params.database
=
"qmcs"
resources.database.slave.params.username
=
"root"
resources.database.slave.params.password
=
"
!@#$%12345werty
"
resources.database.slave.params.password
=
"
root
"
resources.database.slave.params.charset
=
"UTF8"
resources.database.slave.params.driver_options.1002
=
"SET NAMES utf8"
...
...
@@ -201,10 +201,10 @@ resources.database.mongo.params.password = "123456asdfgh"
resources.database.mongo.params.charset
=
"UTF8"
resources.database.mongo.params.driver_options.1002
=
"SET NAMES utf8"
redis.database.params.host
=
"1
27.0.0.1
"
redis.database.params.host
=
"1
72.18.0.3
"
redis.database.params.port
=
"6379"
redis.database.params.prefix
=
"qm_"
redis.database.params.password
=
"
23456ertyu
"
redis.database.params.password
=
""
out.config
=
"/data/config"
;锁文件
...
...
@@ -213,7 +213,7 @@ out.locks="/data/locks";
;redis.database.params.password = "test"
;推送配置
push.clientHost
=
"ws://192.168.
80.18
:9502"
push.clientHost
=
"ws://192.168.
1.145
:9502"
push.host
=
"127.0.0.1"
push.port
=
"9503"
push.open
=
1
...
...
conf/url.ini
View file @
f7e36a0e
...
...
@@ -72,15 +72,20 @@ config.url.source="/www/web/testadmin_shenbd_com/public_html/data/upload/"
; 开发环境配置
; url相关配置
config.url.resourcesHost
=
"http://
api
test.qm.com"
config.url.resourcesHost
=
"http://test.qm.com"
; 用户中心host
config.url.userHost
=
""
config.url.ossHost
=
"https://img.shenbd.com"
config.url.ossHost
=
"https://img
pre
.shenbd.com"
; oss 域名
;config.url.ossHost = "http://qmoss-01.oss-cn-hangzhou.aliyuncs.com"
;推送域名
config.url.pushHost
=
"127.0.0.1:9503"
;
config.url.indexUrl="/www/yaf/application/library/React"
config.url.libary
=
"/www/yaf/application/library"
config.url.source
=
"/www/yaf/data/upload/"
[develop : common]
; 开发环境配置
...
...
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