Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
weixiuhui
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
蒋林
weixiuhui
Commits
af49e67a
Commit
af49e67a
authored
Jan 05, 2017
by
蒋林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
格兰仕 - 保存维修单 - 良品搜索
parent
226cafd3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
Galanz.php
application/controllers/api/Galanz.php
+1
-1
Galanz.php
application/controllers/test/Galanz.php
+6
-6
ReceiveGalanz.php
application/libraries/Receive/ReceiveGalanz.php
+3
-1
SourceGalanz.php
application/libraries/Source/SourceGalanz.php
+0
-2
No files found.
application/controllers/api/Galanz.php
View file @
af49e67a
...
@@ -657,7 +657,7 @@ class Galanz extends BaseController
...
@@ -657,7 +657,7 @@ class Galanz extends BaseController
public
function
lookupParts
()
public
function
lookupParts
()
{
{
$param
=
$this
->
input
->
post
();
$param
=
$this
->
input
->
post
();
//验证参数
//验证参数
$obj
=
$this
->
receiveGalanzObj
();
$obj
=
$this
->
receiveGalanzObj
();
$obj
->
SetValues
(
$param
);
$obj
->
SetValues
(
$param
);
...
...
application/controllers/test/Galanz.php
View file @
af49e67a
...
@@ -234,7 +234,7 @@ class Galanz extends BaseController
...
@@ -234,7 +234,7 @@ class Galanz extends BaseController
$data
[
'appid'
]
=
'10001'
;
$data
[
'appid'
]
=
'10001'
;
$data
[
'account'
]
=
self
::
$testu
;
$data
[
'account'
]
=
self
::
$testu
;
$data
[
'pwd'
]
=
self
::
$testp
;
$data
[
'pwd'
]
=
self
::
$testp
;
$data
[
'id'
]
=
'
f2c11987-0080-46a6-a677-f0b6c2f7e1c2
'
;
$data
[
'id'
]
=
'
6f554192-9356-4dad-8bc1-edfa223c9943
'
;
$data
[
'nonce_str'
]
=
$obj
->
GetNonceStr
();
$data
[
'nonce_str'
]
=
$obj
->
GetNonceStr
();
$obj
->
SetValues
(
$data
);
$obj
->
SetValues
(
$data
);
...
@@ -632,7 +632,7 @@ class Galanz extends BaseController
...
@@ -632,7 +632,7 @@ class Galanz extends BaseController
'appid'
=>
'10001'
,
'appid'
=>
'10001'
,
'account'
=>
self
::
$testu
,
'account'
=>
self
::
$testu
,
'pwd'
=>
self
::
$testp
,
'pwd'
=>
self
::
$testp
,
'id'
=>
'
c9ac9231-2189-44d9-be34-e19aede8895f
'
,
'id'
=>
'
6f554192-9356-4dad-8bc1-edfa223c9943
'
,
'custname'
=>
''
,
'custname'
=>
''
,
'custmobile'
=>
''
,
'custmobile'
=>
''
,
'address'
=>
''
,
'address'
=>
''
,
...
@@ -645,11 +645,11 @@ class Galanz extends BaseController
...
@@ -645,11 +645,11 @@ class Galanz extends BaseController
'repairapply'
=>
''
,
'repairapply'
=>
''
,
'fault'
=>
''
,
'fault'
=>
''
,
'parts'
=>
''
,
'parts'
=>
''
,
'isremote'
=>
''
,
//是否远程
'isremote'
=>
'
0
'
,
//是否远程
'scope'
=>
'
2
'
,
//上门范围
'scope'
=>
'
3
'
,
//上门范围
'distancekm'
=>
''
,
//上门距离
'distancekm'
=>
'
333
'
,
//上门距离
'laxiuamount'
=>
50
,
'laxiuamount'
=>
50
,
'isrelief'
=>
'
1
'
,
'isrelief'
=>
'
0
'
,
'reliefmemo'
=>
'访问积分为哦'
'reliefmemo'
=>
'访问积分为哦'
];
];
...
...
application/libraries/Receive/ReceiveGalanz.php
View file @
af49e67a
...
@@ -273,7 +273,9 @@ class ReceiveGalanz extends Receive
...
@@ -273,7 +273,9 @@ class ReceiveGalanz extends Receive
$order
[
'new_laxiuamount'
]
=
$values
[
'laxiuamount'
]
+
0
;
$order
[
'new_laxiuamount'
]
=
$values
[
'laxiuamount'
]
+
0
;
}
}
if
(
$values
[
'isrelief'
])
{
if
(
$values
[
'isrelief'
])
{
$order
[
'new_isrelief'
]
=
$values
[
'isrelief'
]
+
0
;
$order
[
'new_isrelief'
]
=
1
;
}
else
{
$order
[
'new_isrelief'
]
=
''
;
}
}
if
(
$values
[
'reliefmemo'
])
{
if
(
$values
[
'reliefmemo'
])
{
$order
[
'new_reliefmemo'
]
=
$values
[
'reliefmemo'
];
$order
[
'new_reliefmemo'
]
=
$values
[
'reliefmemo'
];
...
...
application/libraries/Source/SourceGalanz.php
View file @
af49e67a
...
@@ -1565,8 +1565,6 @@ class SourceGalanz extends Source
...
@@ -1565,8 +1565,6 @@ class SourceGalanz extends Source
if
(
$data
[
'new_isrelief'
])
{
if
(
$data
[
'new_isrelief'
])
{
$post
[
'ctl00$ContentData$new_isrelief'
]
=
'on'
;
$post
[
'ctl00$ContentData$new_isrelief'
]
=
'on'
;
}
else
{
$post
[
'ctl00$ContentData$new_isrelief'
]
=
''
;
}
}
switch
(
$type
){
switch
(
$type
){
...
...
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