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
c8a10012
Commit
c8a10012
authored
Jan 10, 2019
by
chenchuanwen
Browse files
Options
Browse Files
Download
Plain Diff
config
parents
d7eebcf5
48c970f9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
94 additions
and
95 deletions
+94
-95
StoreService.php
application/models/Business/Store/StoreService.php
+1
-1
FeedBackService.php
application/models/Business/User/FeedBackService.php
+1
-1
application.ini
conf/application.ini
+76
-83
url.ini
conf/url.ini
+16
-10
No files found.
application/models/Business/Store/StoreService.php
View file @
c8a10012
...
@@ -502,7 +502,7 @@ class StoreServiceModel extends \Business\AbstractModel{
...
@@ -502,7 +502,7 @@ class StoreServiceModel extends \Business\AbstractModel{
\DAO\StoreModel
::
getInstance
(
\Our\DbNameConst
::
masterDBConnectName
)
->
get
(
$storeId
,
false
);
\DAO\StoreModel
::
getInstance
(
\Our\DbNameConst
::
masterDBConnectName
)
->
get
(
$storeId
,
false
);
$imgArr
=
array
();
$imgArr
=
array
();
for
(
$i
=
0
;
$i
<
2
;
$i
++
){
for
(
$i
=
0
;
$i
<
3
;
$i
++
){
$number
=
str_replace
(
array
(
0
,
1
,
2
),
array
(
'A'
,
'B'
,
'C'
),
$i
);
$number
=
str_replace
(
array
(
0
,
1
,
2
),
array
(
'A'
,
'B'
,
'C'
),
$i
);
$image
=
$param
[
'image'
.
$number
];
$image
=
$param
[
'image'
.
$number
];
if
(
$image
&&
$type
==
0
){
if
(
$image
&&
$type
==
0
){
...
...
application/models/Business/User/FeedBackService.php
View file @
c8a10012
...
@@ -59,7 +59,7 @@ class FeedBackServiceModel extends \Business\AbstractModel
...
@@ -59,7 +59,7 @@ class FeedBackServiceModel extends \Business\AbstractModel
// \Error\ErrorModel::throwException(\Error\CodeConfigModel::feedbackTelError);
// \Error\ErrorModel::throwException(\Error\CodeConfigModel::feedbackTelError);
// }
// }
$imgArr
=
array
();
$imgArr
=
array
();
for
(
$i
=
0
;
$i
<
2
;
$i
++
){
for
(
$i
=
0
;
$i
<
3
;
$i
++
){
$number
=
str_replace
(
array
(
0
,
1
,
2
),
array
(
'A'
,
'B'
,
'C'
),
$i
);
$number
=
str_replace
(
array
(
0
,
1
,
2
),
array
(
'A'
,
'B'
,
'C'
),
$i
);
$image
=
$param
[
'image'
.
$number
];
$image
=
$param
[
'image'
.
$number
];
if
(
$image
&&
$type
==
0
){
if
(
$image
&&
$type
==
0
){
...
...
conf/application.ini
View file @
c8a10012
This diff is collapsed.
Click to expand it.
conf/url.ini
View file @
c8a10012
...
@@ -12,7 +12,8 @@ config.url.resourcesHost = "http://api.shenbd.com"
...
@@ -12,7 +12,8 @@ config.url.resourcesHost = "http://api.shenbd.com"
config.url.userHost
=
""
config.url.userHost
=
""
;
;
; ; oss 域名
; ; oss 域名
config.url.ossHost
=
"https://qmoss-01.oss-cn-hangzhou.aliyuncs.com"
config.url.ossHost
=
"https://img.shenbd.com"
;config.url.ossHost = "https://qmoss-01.oss-cn-hangzhou.aliyuncs.com"
;
;
; ;推送域名
; ;推送域名
config.url.pushHost
=
"172.16.142.15:9503"
;
config.url.pushHost
=
"172.16.142.15:9503"
;
...
@@ -36,8 +37,8 @@ config.url.resourcesHost = "http://api.shenbd.com"
...
@@ -36,8 +37,8 @@ config.url.resourcesHost = "http://api.shenbd.com"
; 用户中心host
; 用户中心host
config.url.userHost
=
""
config.url.userHost
=
""
; oss 域名
config.url.ossHost
=
"https://img.shenbd.com"
config.url.ossHost
=
"https://qmoss-01.oss-cn-hangzhou.aliyuncs.com"
;
config.url.ossHost = "https://qmoss-01.oss-cn-hangzhou.aliyuncs.com"
;推送域名
;推送域名
config.url.pushHost
=
"127.0.0.1:9503"
;
config.url.pushHost
=
"127.0.0.1:9503"
;
...
@@ -54,9 +55,9 @@ config.url.convert=/usr/local/bin/wkhtmltoimage
...
@@ -54,9 +55,9 @@ config.url.convert=/usr/local/bin/wkhtmltoimage
config.url.resourcesHost
=
"http://apitest.shenbd.com"
config.url.resourcesHost
=
"http://apitest.shenbd.com"
; 用户中心host
; 用户中心host
config.url.userHost
=
""
config.url.userHost
=
""
config.url.ossHost
=
"https://imgpre.shenbd.com"
; oss 域名
; oss 域名
config.url.ossHost
=
"https://qmoss-01.oss-cn-hangzhou.aliyuncs.com"
;
config.url.ossHost = "https://qmoss-01.oss-cn-hangzhou.aliyuncs.com"
;推送域名
;推送域名
config.url.pushHost
=
"127.0.0.1:9503"
;
config.url.pushHost
=
"127.0.0.1:9503"
;
...
@@ -74,9 +75,9 @@ config.url.source="/www/web/testadmin_shenbd_com/public_html/data/upload/"
...
@@ -74,9 +75,9 @@ config.url.source="/www/web/testadmin_shenbd_com/public_html/data/upload/"
config.url.resourcesHost
=
"http://apitest.qm.com"
config.url.resourcesHost
=
"http://apitest.qm.com"
; 用户中心host
; 用户中心host
config.url.userHost
=
""
config.url.userHost
=
""
config.url.ossHost
=
"https://img.shenbd.com"
; oss 域名
; oss 域名
config.url.ossHost
=
"http://qmoss-01.oss-cn-hangzhou.aliyuncs.com"
;
config.url.ossHost = "http://qmoss-01.oss-cn-hangzhou.aliyuncs.com"
;推送域名
;推送域名
config.url.pushHost
=
"127.0.0.1:9503"
;
config.url.pushHost
=
"127.0.0.1:9503"
;
...
@@ -90,11 +91,16 @@ config.url.resourcesHost = "http://test.qm.com"
...
@@ -90,11 +91,16 @@ config.url.resourcesHost = "http://test.qm.com"
config.url.userHost
=
""
config.url.userHost
=
""
; oss 域名
; oss 域名
config.url.ossHost
=
"http
://qmoss-01.oss-cn-hangzhou.aliyuncs
.com"
config.url.ossHost
=
"http
s://img.shenbd
.com"
;推送域名
;推送域名
config.url.pushHost
=
"127.0.0.1:9503"
;
config.url.pushHost
=
"127.0.0.1:9503"
;
config.url.indexUrl
=
"/www/web/test_qm_com/application/library/React"
config.url.libary
=
"/www/web/test_qm_com/application/library"
config.url.source
=
"/www/web/test_qm_com/public_html/data/upload/"
;config.url.source="E:/WAMP/www/www.qm.com/data/upload/"
;config.url.source="E:/WAMP/www/www.qm.com/data/upload/"
; 文件目录
; 文件目录
;店铺图片报错目录
;店铺图片报错目录
...
@@ -116,10 +122,10 @@ config.url.resourcesHost = "http://local.qm.com"
...
@@ -116,10 +122,10 @@ config.url.resourcesHost = "http://local.qm.com"
config.url.userHost
=
""
config.url.userHost
=
""
; oss 域名
; oss 域名
config.url.ossHost
=
"http
://qmoss-01.oss-cn-hangzhou.aliyuncs
.com"
config.url.ossHost
=
"http
s://imgpre.shenbd
.com"
;推送域名
;推送域名
config.url.pushHost
=
"1
27.0.0.
1:9503"
;
config.url.pushHost
=
"1
92.168.1.20
1:9503"
;
config.url.convert
=
"/usr/local/bin/wkhtmltoimage"
;
config.url.convert
=
"/usr/local/bin/wkhtmltoimage"
;
...
...
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