Commit fa36dab9 authored by wangjiangze's avatar wangjiangze

合作方BUG修复

parent e174cb90
......@@ -81,7 +81,7 @@ class SpAction extends CommonAction{
$id = $model->add($data);
if($conf){
if($conf&&$id){
$confData = array();
foreach($conf as $key => $value){
$confData[] = array("sp_id"=>$id,"type_code"=>$key,"name"=>$data['name'].key($value),"v"=>$value[key($value)],"addtime"=>date('Y-m-d H:i:s'));
......
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