zhang

Results 9 issues of zhang

**问题描述** 如果跳转的页面不存在就会锁死,下次跳转的时候 只能暴力解锁。也就失去了锁的意义。 建议如果页面不存在 报错的同时 进行解锁,这样不影响下次的跳转。 **复现步骤** [复现问题的步骤] 1.引入插件 2.跳转到一个不存在的页面 3.点击其它页面 无反应。因为被锁了。会提示跳转中。。。 [或者可以直接贴源代码] **预期结果** 页面不存在 自动解锁 **实际结果** [这里请贴上你的报错截图或文字] 页面不存在 抛出错误 而没有解锁 **系统信息:** - 发行平台: [如 微信小程序、H5平台、5+ App等] - 操作系统 [如...

保存成功之后,没有图片路径 在分享的时候无法指定图片路径。

Loading Gse user dict... conf/zinc/plugins/gse/dict/user.txt Loading Gse user stop... conf/zinc/plugins/gse/dict/stop.txt Loading index... [article:disk] shards[10:10] Loading index... [good:disk] shards[10:10] Loading index... [shop:disk] shards[10:10] Loading index... [tags:disk] shards[10:10] Starting Zinc 0.4.9 Listen...

表结构: ``` CREATE TABLE `mytable` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(100) COLLATE utf8mb4_bin NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name_uni` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;...

- [ ] Do only one thing - [ ] Non breaking API changes - [ ] Tested ### What did this pull request do? 对于int/uint类型的 主键判断为自增(无论键名是否为id)都不符合实际情况 ### User Case...

## GORM Playground Link https://github.com/go-gorm/playground/pull/1 ## Description ![image](https://github.com/user-attachments/assets/124ac0f4-2116-4648-b0a6-c485c15005ca)

type:missing reproduction steps
status:stale

- [x] Do only one thing - [x] Non breaking API changes - [x] Tested ### What did this pull request do? support native SQL as custom fields ### User...

## Describe the feature 通过如下方法实现自定义字段 var customCol1 = field.NewFieldRaw("IF(column1='1',column1,?)","456") var customCol2 = field.NewFieldRaw("case column2 when ? then ? else ? end","1","正常","异常") query.Table1.Select(customCol1,customCol2,query.Table1.Column2).Order(customCol1.Desc()).Where(customCol2.Eq(value)) ## Motivation select 时需要自定义字段 order by 时 需要通过自定义字段进行排序...

## GORM Playground Link https://github.com/go-gorm/playground/pull/1 ## Description 1.建表 ``` CREATE TABLE `mytest_table` ( `column1` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, `column2` char(40) COLLATE utf8mb4_unicode_ci NOT NULL, `column3` tinyint(3) unsigned NOT NULL...