From 13232b3b04eb6f1c0af4884592e695d8c80e48c6 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Thu, 23 Apr 2020 09:15:21 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/TimingController.class.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Application/Admin/Controller/TimingController.class.php b/Application/Admin/Controller/TimingController.class.php index a1aae43d4..9a800890b 100644 --- a/Application/Admin/Controller/TimingController.class.php +++ b/Application/Admin/Controller/TimingController.class.php @@ -325,4 +325,22 @@ class TimingController extends AdminController { } + public function getTogetherUserAccount() { + + if (I('user_id','')) { + $user_id = I('user_id',''); + } else { + return false; + } + + $data = M('user','tab_')->field('account')->where(['id'=>$user_id])->find(); +// var_dump($data); + if (!$data) { + return false; + } + + $this->ajaxReturn($data); + + } + } From 14efc9650ff024223fa8432b38c4d41af75fe8af Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 28 Apr 2020 13:53:09 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=93=B6=E8=A1=8C?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E4=B8=8D=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/PromoteCompany/edit.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Application/Admin/View/PromoteCompany/edit.html b/Application/Admin/View/PromoteCompany/edit.html index 742d7e813..7413a8406 100644 --- a/Application/Admin/View/PromoteCompany/edit.html +++ b/Application/Admin/View/PromoteCompany/edit.html @@ -355,18 +355,18 @@ var obj = { "company_name":["required","推广公司名称不允许为空"], "platform_name":["nocheck"], - // "contact_begin":["date","合同开始时间不能为空"], - // "contact_end":["date","合同结束时间不能为空"], + "contact_begin":["nocheck","合同开始时间不能为空"], + "contact_end":["nocheck","合同结束时间不能为空"], "fax_ratio":["number","开票税率必须是数字,如果无此项请填0"], "company_type":["required","公司性质不能为空","select"], "is_sign_contact":["required","是否签署合同项不能为空","select"], "company_belong":["required","团体归属不能为空","select"], "settlement_contact":["required","结算联系人不能为空"], "contact_phone":["phone","联系人电话格式不对或不能为空"], - // "address":["required","联系人地址不能为空"], - // "bank_card":["bankid","银行卡格式错误或不能为空"], - // "bank_name":["required","银行名称不能为空"], - // "bank_address":["required","银行开户网点不能为空"], + "address":["nocheck","联系人地址不能为空"], + "bank_card":["nocheck","银行卡格式错误或不能为空"], + "bank_name":["nocheck","银行名称不能为空"], + "bank_address":["nocheck","银行开户网点不能为空"], "content":["nocheck"], "status":["nocheck","","radio"] }