瓦砾

Results 16 issues of 瓦砾

I have a requirement to set the log delimiter to 0x01

debug ``` runtime/debug.Stack(0x502c9dd, 0x2, 0xc000318838) /usr/local/Cellar/go/1.13.4/libexec/src/runtime/debug/stack.go:24 +0x9d git.liebaopay.com/INA_financial/rpc_services/app/srv/workflow/services.(*Workflow).CreateNode.func1(0xc0002e12c0) /app/go/rpc_services/app/srv/workflow/services/node.go:30 +0xde panic(0x4e53060, 0xc000400120) /usr/local/Cellar/go/1.13.4/libexec/src/runtime/panic.go:679 +0x1b2 reflect.valueInterface(0x0, 0x0, 0x0, 0x502ca01, 0x2, 0x0) /usr/local/Cellar/go/1.13.4/libexec/src/reflect/value.go:1008 +0x1a0 reflect.Value.Interface(...) /usr/local/Cellar/go/1.13.4/libexec/src/reflect/value.go:1003 github.com/gobuffalo/pop/associations.(*hasManyAssociation).AfterProcess(0xc0001460f0, 0x0, 0x0, 0x0, 0x0, 0x0)...

s: triage
f: associations

``` model: func (p *Process) AfterCreate(tx *pop.Connection) (err error) { fmt.Print(p.ID) // == 0 } func: pop.Transaction(func(tx *pop.Connection) error { for i=0;i

``` CREATE TABLE `workflow_nodes` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `reviewers` json DEFAULT NULL COMMENT', PRIMARY KEY (`id`), ```` how can insert json data to reviewers with model?

通过URL参数传入一个歌曲名 当的WEB页面打开这个连接时 不能正确的加载到新的歌曲,只能加载上次的音频或第一首音频 ``` mounted: function () { if (this.$route.params.mp3Name !== this.$refs.aplayer.currentMusic.name) { this.$refs.aplayer.switch(this.$route.params.mp3Name) console.log(this.$route.params.mp3Name,this.$route.params.mp3Name) //这里打印两个音频名称不一样,确认调用过函数 } } ```