dever 3 年之前
父节点
当前提交
d0bef852e1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Subscribe.php

+ 1 - 1
src/Subscribe.php

@@ -238,7 +238,7 @@ class Subscribe
 				$update['name'] = $v['title'];
 				$update['example'] = $v['example'];
 				$update['type'] = $v['type'];
-				$id = Dever::upinto('wechat_applet/subscribe', array('option_project_id' => $project_id, 'option_template_id' => $v['template_id']), $update);
+				$id = Dever::upinto('wechat_applet/subscribe', array('option_project_id' => $project_id, 'option_template_id' => $update['template_id']), $update);
 			}
 		}
 		return array();