1
This commit is contained in:
@@ -51,7 +51,7 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
MaxStoreNameLen = 13 // 门店名称最大长度(2个英文或数字算一位)
|
||||
MaxStoreNameLen = 100 // 门店名称最大长度(2个英文或数字算一位)
|
||||
)
|
||||
|
||||
type CreateShopResult struct {
|
||||
@@ -343,6 +343,7 @@ func (a *API) UpdateStoreInfo4Open2(updateParams *OpStoreParams, modifyCloseStat
|
||||
if !modifyCloseStatus {
|
||||
delete(mapData, "closeStatus")
|
||||
}
|
||||
delete(mapData, "storeNotice") // 这个限制长度100个汉字老是超长!直接不修改了!
|
||||
// else {
|
||||
// jdStoreID, err := a.GetJdStoreID(int(utils.Str2Int64(updateParams.OutSystemID)))
|
||||
// if err != nil {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package tao_vegetable
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
domain2 "git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/ability3156/domain"
|
||||
request2 "git.rosy.net.cn/baseapi/platformapi/tao_vegetable/sdk/ability3156/request"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
@@ -34,3 +35,7 @@ func TestDiseAgreeCancel(t *testing.T) {
|
||||
err := apiTao.DisAgreeUserCancel(param)
|
||||
globals.SugarLogger.Debugf("err := %v", err)
|
||||
}
|
||||
|
||||
func TestLen(t *testing.T) {
|
||||
fmt.Println(len("【平台推荐】\\u0026【官方认证】\\u0026【品质联盟】——请各位顾客放心下单!!!本店线下实体经营十余年,在此承诺,坏菜包赔,绝不出售隔夜菜,若出现错送或者质量问题,请相信我们不是故意的,您可第一时间与我们联系,我们一定竭诚为您服务,感谢您的信任!谢谢!"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user