Ver código fonte

update tt

master
xhxu 3 anos atrás
pai
commit
7bf693db50
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      mallinkService/src/main/java/com/iformall/service/toutiao/api/impl/TtOpenMaServiceImpl.java

+ 2
- 0
mallinkService/src/main/java/com/iformall/service/toutiao/api/impl/TtOpenMaServiceImpl.java Ver arquivo

@@ -696,6 +696,8 @@ public class TtOpenMaServiceImpl extends TtMaServiceImpl implements TtOpenMaServ
@Override
public TtOpenResult addShopMaterial(TtOpenShopMaterial shopMaterial)throws WxErrorException {
String uri = API_ADD_SHOP_MATERIAL + "?component_appid=" + ttOpenComponentService.getWxOpenConfigStorage().getComponentAppId();
log.info("uri--------"+uri);
log.info("data--------"+shopMaterial.toJson());
String response = ttOpenComponentService.postByAppAccessToken(appId,uri,shopMaterial.toJson(),"authorizer_access_token");
return TtOpenGsonBuilder.create().fromJson(response, TtOpenResult.class);
}


Carregando…
Cancelar
Salvar