2022年10月11日
摘要: class Car { var $color; function __construct($color="green") { $this->color = $color; } function what_color() { return $this->color; } } 阅读全文
posted @ 2022-10-11 15:08 boye169 阅读(6) 评论(0) 推荐(0) 编辑
摘要: alter table test modify column `code` varchar(200); alter table test change ret rets varchar(100) DEFAULT NULL COMMENT '返回值'; --修改字段名 ALTER TABLE test 阅读全文
posted @ 2022-10-11 11:15 boye169 阅读(13) 评论(0) 推荐(0) 编辑
摘要: import json d={"a":"我们","b":"test"} print(json.dumps(d)) #{"a": "\u6211\u4eec", "b": "test"} print(json.dumps(d,ensure_ascii=False,indent=2)) """ { "a 阅读全文
posted @ 2022-10-11 10:00 boye169 阅读(45) 评论(0) 推荐(0) 编辑