1
This commit is contained in:
@@ -20,10 +20,10 @@ func init() {
|
||||
baseapi.Init(sugarLogger)
|
||||
|
||||
// 菜市
|
||||
//api = New("589", "a81eb3df418d83d6a1a4b7c572156d2f", "", "")
|
||||
api = New("589", "a81eb3df418d83d6a1a4b7c572156d2f", "", "")
|
||||
|
||||
// 果园
|
||||
api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "")
|
||||
//api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "")
|
||||
|
||||
//商超
|
||||
// api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_ovSLnyKTsMNx0RxMzJ1C7w") //token_n4TwqCntWWuvQwAawzxC0w
|
||||
@@ -50,6 +50,10 @@ func TestGetOAuthCode(t *testing.T) {
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestPreparationMealComplete(t *testing.T) {
|
||||
api.PreparationMealComplete(1100657633926494664)
|
||||
}
|
||||
|
||||
func TestGetAccessToken(t *testing.T) {
|
||||
result, err := api.GetAccessToken("code_ra0oUBjsRwRf0f5m0wJB9g")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user