Commit af49e67a authored by 蒋林's avatar 蒋林

格兰仕 - 保存维修单 - 良品搜索

parent 226cafd3
...@@ -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);
......
...@@ -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' => '访问积分为哦'
]; ];
......
...@@ -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'];
......
...@@ -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){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment