浏览代码

计量支付附件、短信合并

增加map文件,去除短信页面请求脚本最后一个数组的逗号分隔符,IE11报错。
增加类名判断,
NoNZero 8 年之前
父节点
当前提交
50595c1b86

+ 1 - 1
protected/config/sms.conf.php

@@ -1,4 +1,4 @@
 <?php
 $config['SMS_URL'] = 'http://sms.haotingyun.com/v2/sms/single_send.json';
 $config['SMS_AUTHKEY'] = 'fb5ef483e44b9556512a9febef376051';
-$config['SMS_TIPS'] = array('AUDIT_NOTICE' => '【纵横通行账号】您的验证码是', 'END_MSG' => ',15分钟内有效。', 'AUDIT_NOTICE_AUDITOR' => ',已审批通过。请您继续审批。');
+$config['SMS_TIPS'] = array('AUDIT_NOTICE' => '【纵横通行账号】您的验证码是', 'END_MSG' => ',15分钟内有效。', 'AUDIT_NOTICE_AUDITOR' => ',已审批通过。请您继续审批。', 'AUDIT_NOTICE_AUDITOR2' => ',需要您继续审批。【纵横计量支付】');

+ 2 - 2
protected/controller/ClientController.php

@@ -766,10 +766,10 @@ class ClientController extends DooController
                                         } else {
                                             $this->measureauditact->updateMastatus($auditUserArray[$k + 1]['maid']);//变更下一个状态
                                             // SMS Start
-                                            $verifyUserArray = $this->profile->getVerifiedMobile($auditUserArray[$k + 1]['auditoruid']);
+                                            // $verifyUserArray = $this->profile->getVerifiedMobile($auditUserArray[$k]['auditoruid']);
                                             $pmnameArray = $this->actmeasure->getRowByPmid($auditUserArray[$k + 1]['pmid']);
                                             if (isset($verifyUserArray) && ($verifyUserArray['mobile'])) {// // XXXX(标段名),陈特,已审批通过。请您继续审批。
-                                                $this->__auditNotice($verifyUserArray['mobile'], $pmnameArray["pmname"] . ',' . $verifyUserArray["name"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR"]);
+                                                $this->__auditNotice($verifyUserArray['mobile'], $pmnameArray["pmname"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR2"]);
                                             }
                                             // SMS End
                                         }

+ 2 - 2
protected/controller/RProjectController.php

@@ -460,12 +460,12 @@ class RProjectController extends DooController
                                 } else {
                                     $this->measureauditact->updateMastatus($auditUserArray[$k + 1]['maid']);
                                     // SMS Start
-                                    $verifyUserArray = $this->profile->getVerifiedMobile($auditUserArray[$k + 1]['auditoruid']);
+                                    // $verifyUserArray = $this->profile->getVerifiedMobile($auditUserArray[$k]['auditoruid']);
                                     // var_dump($verifyUserArray);
                                     $pmnameArray = $this->actmeasure->getRowByPmid($auditUserArray[$k + 1]['pmid']);
                                     // var_dump($pmnameArray);
                                     if (isset($verifyUserArray) && ($verifyUserArray['mobile'])) {// XXXX(标段名),陈特,已审批通过。请您继续审批。
-                                        $retval = $this->__auditNotice($verifyUserArray['mobile'], $pmnameArray["pmname"] . ',' . $verifyUserArray["name"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR"]);
+                                        $retval = $this->__auditNotice($verifyUserArray['mobile'], $pmnameArray["pmname"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR2"]);
                                         // var_dump($pmnameArray["pmname"] . ',' . $verifyUserArray["name"] . Doo::conf()->SMS_TIPS["AUDIT_NOTICE_AUDITOR"]);
                                         // var_dump($retval);
                                         // var_dump($this->sms->getErrors());