package userrpc
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func Test_BindThird(t *testing.T) {
|
|
dbname := "test1_tetele_com"
|
|
site_id := "1001"
|
|
platform := "deliver_mini"
|
|
user_id := "1"
|
|
openid := "CasfoieFsdfsdfiDiodf_df"
|
|
openname := "测试中"
|
|
avatar := "https://ssss.ttt.ddd/sfsd"
|
|
mobile := "1234456456"
|
|
res, err := BindThird(site_id, dbname, platform, user_id, openid, openname, "", avatar, mobile)
|
|
t.Log(res)
|
|
t.Log(err)
|
|
|
|
}
|