提交 f6c4cbe8 authored 作者: chengye's avatar chengye

修改供应商接口满足一次取出所有供应商数据

上级 8679ec67
...@@ -31,7 +31,7 @@ class flow_emfkClassModel extends flowModel ...@@ -31,7 +31,7 @@ class flow_emfkClassModel extends flowModel
* @param int $status 状态 * @param int $status 状态
*/ */
private function sendMess($messType = 0,$status = 3){ private function sendMess($messType = 0,$status = 3){
m('log')->addlog('电费付款','接口动作:'.$messType.'状态:'.$status); m('log')->addlog('电费付款','接口动作:'.$messType.'状态:'.$status,1);
$url = getconfig('base_url'). 'v2/payment?key='; $url = getconfig('base_url'). 'v2/payment?key=';
$key = substr(md5(getconfig('openkey').date('Y-m-d')),0,12); $key = substr(md5(getconfig('openkey').date('Y-m-d')),0,12);
...@@ -39,7 +39,7 @@ class flow_emfkClassModel extends flowModel ...@@ -39,7 +39,7 @@ class flow_emfkClassModel extends flowModel
$url .= '&numb='.$this->rs['docnum']; $url .= '&numb='.$this->rs['docnum'];
$url .= '&status='.$status; $url .= '&status='.$status;
$url .= '&mes='.''; $url .= '&mes='.'';
m('log')->addlog('电费付款','接口返回信息: url '.$url); m('log')->addlog('电费付款','接口发送信息: url '.$url);
$res = curlGet($url); $res = curlGet($url);
m('log')->addlog('电费付款','接口返回信息:' .$res); m('log')->addlog('电费付款','接口返回信息:' .$res);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论