Commit 13124ab3 authored by zhuwei's avatar zhuwei

1

parent e4e0f932
...@@ -74,13 +74,13 @@ class StoreFee extends Basic ...@@ -74,13 +74,13 @@ class StoreFee extends Basic
{ {
$params = $this->params; $params = $this->params;
$params = array( // $params = array(
"id" => '1',//id // "id" => '1',//id
"site_id" => '10001',//站点id // "site_id" => '10001',//站点id
"office_name" => '鳖12222',//办公室名 // "office_name" => '鳖12222',//办公室名
"office_address" =>'上海市黄浦区龙华东路800号',//办公室地址 // "office_address" =>'上海市黄浦区龙华东路800号',//办公室地址
"rent" => 5000,//租金每月 // "rent" => 5000,//租金每月
); // );
$checkResult = $this->validate($params, "StoreFeeValidate.editOffice"); $checkResult = $this->validate($params, "StoreFeeValidate.editOffice");
if (true !== $checkResult) { if (true !== $checkResult) {
...@@ -144,9 +144,9 @@ class StoreFee extends Basic ...@@ -144,9 +144,9 @@ class StoreFee extends Basic
{ {
$params = $this->params; $params = $this->params;
$params = array( // $params = array(
"id" => '1',//id // "id" => '1',//id
); // );
$checkResult = $this->validate($params, "StoreFeeValidate.getOfficeInfo"); $checkResult = $this->validate($params, "StoreFeeValidate.getOfficeInfo");
if (true !== $checkResult) { if (true !== $checkResult) {
return $this->response("101", $checkResult); return $this->response("101", $checkResult);
...@@ -181,9 +181,9 @@ class StoreFee extends Basic ...@@ -181,9 +181,9 @@ class StoreFee extends Basic
{ {
$params = $this->params; $params = $this->params;
$params = array( // $params = array(
"id" => '1',//id // "id" => '1',//id
); // );
$checkResult = $this->validate($params, "StoreFeeValidate.getOfficeInfo"); $checkResult = $this->validate($params, "StoreFeeValidate.getOfficeInfo");
if (true !== $checkResult) { if (true !== $checkResult) {
return $this->response("101", $checkResult); return $this->response("101", $checkResult);
......
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