dever 3 years ago
parent
commit
d0bef852e1
1 changed files with 1 additions and 1 deletions
  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();