一、报错:FAIL : 'Return' is a reserved keyword.
给Retrun加上中括号即可
二、报错:True != true
三、报错
/Library/Python/2.7/site-packages/pymysql/cursors.py:165: Warning: (1292, u"Truncated incorrect DOUBLE value: '18667046650_10'")
result = self._query(query)
报错行是:
${name} query select nickname from authshop where code=000055
查数据库信息,code 字段是varchar类型的,不是int 类型的
把报错行改成 ${name} query select nickname from authshop where code='000055' 即可