Patrick Peng Sun 8 лет назад
Родитель
Сommit
8edc66f8af
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      crmEntity_test.go

+ 2
- 1
crmEntity_test.go Просмотреть файл

func TestCrmCreateEntity(t *testing.T) { func TestCrmCreateEntity(t *testing.T) {


e := crmdLead{} e := crmdLead{}
e.FirstName = "ff" + time.Now().Format("2006-jan-02 03:04:05")
e.FirstName = "ff" + time.Now().Format(getCrmTimeLayout())
e.LastName = "ll" e.LastName = "ll"
e.Password = "pp" e.Password = "pp"
e.Status = "New" e.Status = "New"
e.WechatHitxyID = time.Now().Format(getCrmTimeLayout())
b, _ := json.Marshal(e) b, _ := json.Marshal(e)


//Create //Create

Загрузка…
Отмена
Сохранить