fix: 多企业下错误

This commit is contained in:
pangdahua 2020-10-10 18:17:58 +08:00
parent 7f9354782c
commit e4b2bdbcc2
2 changed files with 3 additions and 2 deletions

View File

@ -73,6 +73,9 @@ static inline void trace(const char *file, int line, const char* function, const
va_end(args);
}
#define WXWORK_SDK_G_NAME "_wecomSDK"
#define WXWORK_SDK_G_NAME_SIZE sizeof(WXWORK_SDK_G_NAME) - 1
#endif /* PHP_WXWORK_FINANCE_SDK_H */
/*

View File

@ -26,8 +26,6 @@
#include "php_ini.h"
#include "ext/standard/info.h"
#include "php_wxwork_finance_sdk.h"
#define WXWORK_SDK_G_NAME "_wecomSDK"
#define WXWORK_SDK_G_NAME_SIZE sizeof(WXWORK_SDK_G_NAME) - 1
/* If you declare any globals in php_wxwork_finance_sdk.h uncomment this:
ZEND_DECLARE_MODULE_GLOBALS(wxwork_finance_sdk)
*/